From 94beeb0610acbe05b9532b27959ec25cb82e6d47 Mon Sep 17 00:00:00 2001 From: Yongting You <2010youy01@gmail.com> Date: Sun, 24 Nov 2024 20:49:12 +0800 Subject: [PATCH] Specify order in .slt test --- datafusion/sqllogictest/test_files/union.slt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/datafusion/sqllogictest/test_files/union.slt b/datafusion/sqllogictest/test_files/union.slt index b5e82f613a46..d94780744db9 100644 --- a/datafusion/sqllogictest/test_files/union.slt +++ b/datafusion/sqllogictest/test_files/union.slt @@ -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]]