Skip to content

Commit

Permalink
Specify order in .slt test
Browse files Browse the repository at this point in the history
  • Loading branch information
2010YOUY01 committed Nov 24, 2024
1 parent 5c78912 commit 94beeb0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions datafusion/sqllogictest/test_files/union.slt
Original file line number Diff line number Diff line change
Expand Up @@ -766,13 +766,13 @@ SELECT NULL WHERE FALSE;
query error DataFusion error: type_coercion\ncaused by\nError during planning: Incompatible inputs for Union: Previous inputs were of type List(.*), but got incompatible type List(.*) on column 'x'
SELECT make_array(2) x UNION ALL SELECT make_array(now()) x;

query ?
query ? rowsort
select make_array(arrow_cast(2, 'UInt8')) x UNION ALL SELECT make_array(arrow_cast(-2, 'Int8')) x;
----
[-2]
[2]

query ?
query ? rowsort
select make_array(make_array(1)) x UNION ALL SELECT make_array(arrow_cast(make_array(-1), 'LargeList(Int8)')) x;
----
[[-1]]
Expand Down

0 comments on commit 94beeb0

Please sign in to comment.