Skip to content

Commit 0480df5

Browse files
committed
fix test
1 parent 590b5cb commit 0480df5

File tree

1 file changed

+25
-25
lines changed
  • src/query/functions-v2/tests/it/scalars/testdata

1 file changed

+25
-25
lines changed

src/query/functions-v2/tests/it/scalars/testdata/string.txt

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -2942,12 +2942,12 @@ evaluation:
29422942
| Row 9 | 9 | " " |
29432943
+--------+---------+--------------------+
29442944
evaluation (internal):
2945-
+--------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
2946-
| Column | Data |
2947-
+--------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
2948-
| a | UInt8([0, 1, 2, 3, 4, 5, 6, 7, 8, 9]) |
2949-
| Output | StringColumn { data: [32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32], offsets: [0, 0, 1, 3, 6, 10, 15, 21, 28, 36, 45] } |
2950-
+--------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
2945+
+--------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
2946+
| Column | Data |
2947+
+--------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
2948+
| a | UInt8([0, 1, 2, 3, 4, 5, 6, 7, 8, 9]) |
2949+
| Output | StringColumn { data: 0x202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020, offsets: [0, 0, 1, 3, 6, 10, 15, 21, 28, 36, 45] } |
2950+
+--------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
29512951

29522952

29532953
ast : left('', 0)
@@ -2990,12 +2990,12 @@ evaluation:
29902990
| Row 10 | 10 | "123456789" |
29912991
+--------+----------+-------------+
29922992
evaluation (internal):
2993-
+--------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
2994-
| Column | Data |
2995-
+--------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
2996-
| a | UInt8([0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10]) |
2997-
| Output | StringColumn { data: [49, 49, 50, 49, 50, 51, 49, 50, 51, 52, 49, 50, 51, 52, 53, 49, 50, 51, 52, 53, 54, 49, 50, 51, 52, 53, 54, 55, 49, 50, 51, 52, 53, 54, 55, 56, 49, 50, 51, 52, 53, 54, 55, 56, 57, 49, 50, 51, 52, 53, 54, 55, 56, 57], offsets: [0, 0, 1, 3, 6, 10, 15, 21, 28, 36, 45, 54] } |
2998-
+--------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
2993+
+--------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
2994+
| Column | Data |
2995+
+--------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
2996+
| a | UInt8([0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10]) |
2997+
| Output | StringColumn { data: 0x313132313233313233343132333435313233343536313233343536373132333435363738313233343536373839313233343536373839, offsets: [0, 0, 1, 3, 6, 10, 15, 21, 28, 36, 45, 54] } |
2998+
+--------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
29992999

30003000

30013001
ast : right('', 0)
@@ -3038,12 +3038,12 @@ evaluation:
30383038
| Row 10 | 10 | "123456789" |
30393039
+--------+----------+-------------+
30403040
evaluation (internal):
3041-
+--------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
3042-
| Column | Data |
3043-
+--------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
3044-
| a | UInt8([0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10]) |
3045-
| Output | StringColumn { data: [57, 56, 57, 55, 56, 57, 54, 55, 56, 57, 53, 54, 55, 56, 57, 52, 53, 54, 55, 56, 57, 51, 52, 53, 54, 55, 56, 57, 50, 51, 52, 53, 54, 55, 56, 57, 49, 50, 51, 52, 53, 54, 55, 56, 57, 49, 50, 51, 52, 53, 54, 55, 56, 57], offsets: [0, 0, 1, 3, 6, 10, 15, 21, 28, 36, 45, 54] } |
3046-
+--------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
3041+
+--------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
3042+
| Column | Data |
3043+
+--------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
3044+
| a | UInt8([0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10]) |
3045+
| Output | StringColumn { data: 0x393839373839363738393536373839343536373839333435363738393233343536373839313233343536373839313233343536373839, offsets: [0, 0, 1, 3, 6, 10, 15, 21, 28, 36, 45, 54] } |
3046+
+--------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
30473047

30483048

30493049
ast : mid('1234567890', -3, 3)
@@ -3129,12 +3129,12 @@ evaluation:
31293129
| Row 44 | -4 | 4 | "" |
31303130
+--------+----------+---------+---------+
31313131
evaluation (internal):
3132-
+--------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
3133-
| Column | Data |
3134-
+--------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
3135-
| pos | Int8([0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, -1, -1, -1, -1, -1, -2, -2, -2, -2, -2, -3, -3, -3, -3, -3, -4, -4, -4, -4, -4]) |
3136-
| len | UInt8([0, 1, 2, 3, 4, 0, 1, 2, 3, 4, 0, 1, 2, 3, 4, 0, 1, 2, 3, 4, 0, 1, 2, 3, 4, 0, 1, 2, 3, 4, 0, 1, 2, 3, 4, 0, 1, 2, 3, 4, 0, 1, 2, 3, 4]) |
3137-
| Output | StringColumn { data: [97, 97, 98, 97, 98, 99, 97, 98, 99, 98, 98, 99, 98, 99, 98, 99, 99, 99, 99, 99, 99, 99, 99, 99, 98, 98, 99, 98, 99, 98, 99, 97, 97, 98, 97, 98, 99, 97, 98, 99], offsets: [0, 0, 0, 0, 0, 0, 0, 1, 3, 6, 9, 9, 10, 12, 14, 16, 16, 17, 18, 19, 20, 20, 20, 20, 20, 20, 20, 21, 22, 23, 24, 24, 25, 27, 29, 31, 31, 32, 34, 37, 40, 40, 40, 40, 40, 40] } |
3138-
+--------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
3132+
+--------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
3133+
| Column | Data |
3134+
+--------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
3135+
| pos | Int8([0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, -1, -1, -1, -1, -1, -2, -2, -2, -2, -2, -3, -3, -3, -3, -3, -4, -4, -4, -4, -4]) |
3136+
| len | UInt8([0, 1, 2, 3, 4, 0, 1, 2, 3, 4, 0, 1, 2, 3, 4, 0, 1, 2, 3, 4, 0, 1, 2, 3, 4, 0, 1, 2, 3, 4, 0, 1, 2, 3, 4, 0, 1, 2, 3, 4, 0, 1, 2, 3, 4]) |
3137+
| Output | StringColumn { data: 0x61616261626361626362626362636263636363636363636362626362636263616162616263616263, offsets: [0, 0, 0, 0, 0, 0, 0, 1, 3, 6, 9, 9, 10, 12, 14, 16, 16, 17, 18, 19, 20, 20, 20, 20, 20, 20, 20, 21, 22, 23, 24, 24, 25, 27, 29, 31, 31, 32, 34, 37, 40, 40, 40, 40, 40, 40] } |
3138+
+--------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
31393139

31403140

0 commit comments

Comments
 (0)