Skip to content

Commit 1002408

Browse files
committed
update outputs
1 parent d2e8da6 commit 1002408

File tree

5 files changed

+13
-14
lines changed

5 files changed

+13
-14
lines changed

datafusion/sqllogictest/test_files/array.slt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4747,10 +4747,8 @@ select array_union(arrow_cast([], 'LargeList(Int64)'), arrow_cast([], 'LargeList
47474747
[]
47484748

47494749
# array_union scalar function #7
4750-
query ?
4750+
query error DataFusion error: Arrow error: Invalid argument error: Codecs \[List\(RowConverter \{ fields: \[SortField \{ options: SortOptions \{ descending: false, nulls_first: true \}, data_type: Null \}\], codecs: \[Stateless\] \}\)\] did not consume all bytes for row 0, remaining bytes: \[1\]
47514751
select array_union([[null]], []);
4752-
----
4753-
[[]]
47544752

47554753
query error DataFusion error: Error during planning: Failed to coerce arguments to satisfy a call to 'array_union' function:
47564754
select array_union(arrow_cast([[null]], 'LargeList(List(Int64))'), arrow_cast([], 'LargeList(Int64)'));

datafusion/sqllogictest/test_files/datetime/arith_date_time.slt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,4 +113,3 @@ SELECT '2001-09-28'::date / '03:00'::time
113113

114114
query error Invalid timestamp arithmetic operation
115115
SELECT '2001-09-28'::date % '03:00'::time
116-

datafusion/sqllogictest/test_files/datetime/arith_timestamp_duration.slt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,4 +144,4 @@ query error Invalid timestamp arithmetic operation
144144
SELECT '2001-09-28T01:00:00'::timestamp % arrow_cast(12345, 'Duration(Second)');
145145

146146
query error Invalid timestamp arithmetic operation
147-
SELECT '2001-09-28T01:00:00'::timestamp / arrow_cast(12345, 'Duration(Second)');
147+
SELECT '2001-09-28T01:00:00'::timestamp / arrow_cast(12345, 'Duration(Second)');

datafusion/sqllogictest/test_files/explain_tree.slt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ physical_plan
268268
06)┌─────────────┴─────────────┐
269269
07)│ DataSourceExec │
270270
08)│ -------------------- │
271-
09)│ bytes: 1040
271+
09)│ bytes: 1024
272272
10)│ format: memory │
273273
11)│ rows: 2 │
274274
12)└───────────────────────────┘
@@ -345,7 +345,7 @@ physical_plan
345345
15)┌─────────────┴─────────────┐┌─────────────┴─────────────┐
346346
16)│ DataSourceExec ││ ProjectionExec │
347347
17)│ -------------------- ││ -------------------- │
348-
18)│ bytes: 520 ││ date_col: date_col │
348+
18)│ bytes: 512 ││ date_col: date_col │
349349
19)│ format: memory ││ int_col: int_col │
350350
20)│ rows: 1 ││ │
351351
21)│ ││ string_col: │
@@ -592,7 +592,7 @@ physical_plan
592592
07)┌─────────────┴─────────────┐
593593
08)│ DataSourceExec │
594594
09)│ -------------------- │
595-
10)│ bytes: 520
595+
10)│ bytes: 512
596596
11)│ format: memory │
597597
12)│ rows: 1 │
598598
13)└───────────────────────────┘
@@ -954,7 +954,7 @@ physical_plan
954954
13)┌─────────────┴─────────────┐
955955
14)│ DataSourceExec │
956956
15)│ -------------------- │
957-
16)│ bytes: 520
957+
16)│ bytes: 512
958958
17)│ format: memory │
959959
18)│ rows: 1 │
960960
19)└───────────────────────────┘
@@ -1305,7 +1305,7 @@ physical_plan
13051305
42)┌─────────────┴─────────────┐┌─────────────┴─────────────┐
13061306
43)│ DataSourceExec ││ DataSourceExec │
13071307
44)│ -------------------- ││ -------------------- │
1308-
45)│ bytes: 296 ││ bytes: 288
1308+
45)│ bytes: 288 ││ bytes: 280
13091309
46)│ format: memory ││ format: memory │
13101310
47)│ rows: 1 ││ rows: 1 │
13111311
48)└───────────────────────────┘└───────────────────────────┘
@@ -1324,14 +1324,14 @@ physical_plan
13241324
04)┌─────────────┴─────────────┐┌─────────────┴─────────────┐
13251325
05)│ DataSourceExec ││ ProjectionExec │
13261326
06)│ -------------------- ││ -------------------- │
1327-
07)│ bytes: 296 ││ id: CAST(id AS Int32) │
1327+
07)│ bytes: 288 ││ id: CAST(id AS Int32) │
13281328
08)│ format: memory ││ name: name │
13291329
09)│ rows: 1 ││ │
13301330
10)└───────────────────────────┘└─────────────┬─────────────┘
13311331
11)-----------------------------┌─────────────┴─────────────┐
13321332
12)-----------------------------│ DataSourceExec │
13331333
13)-----------------------------│ -------------------- │
1334-
14)-----------------------------│ bytes: 288
1334+
14)-----------------------------│ bytes: 280
13351335
15)-----------------------------│ format: memory │
13361336
16)-----------------------------│ rows: 1 │
13371337
17)-----------------------------└───────────────────────────┘

datafusion/sqllogictest/test_files/window.slt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6068,7 +6068,7 @@ FROM (
60686068
# `WHERE acctbal > ( SELECT AVG(acctbal) FROM suppliers)` into a Join,
60696069
# breaking the input schema passed to the window function above.
60706070
# See: https://github.com/apache/datafusion/issues/17770
6071-
query I
6071+
query error
60726072
WITH suppliers AS (
60736073
SELECT *
60746074
FROM (VALUES (1, 10.0), (1, 20.0)) AS t(nation, acctbal)
@@ -6080,4 +6080,6 @@ WHERE acctbal > (
60806080
SELECT AVG(acctbal) FROM suppliers
60816081
);
60826082
----
6083-
1
6083+
DataFusion error: Join Error
6084+
caused by
6085+
External error: task 20768 panicked with message "assertion `left == right` failed\n left: 4\n right: 1"

0 commit comments

Comments
 (0)