From c15ef4780479e364398d4d40c2d7181495b4f1d7 Mon Sep 17 00:00:00 2001 From: wiedld Date: Fri, 27 Sep 2024 22:14:10 -0700 Subject: [PATCH] test: possible reproducer of issue 12560 --- datafusion/sqllogictest/test_files/metadata.slt | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/datafusion/sqllogictest/test_files/metadata.slt b/datafusion/sqllogictest/test_files/metadata.slt index 3b2b219244f5..d0aab4649f0a 100644 --- a/datafusion/sqllogictest/test_files/metadata.slt +++ b/datafusion/sqllogictest/test_files/metadata.slt @@ -31,18 +31,14 @@ select * from table_with_metadata; NULL bar 3 baz -query I rowsort +statement error DataFusion error: Internal error: Physical input schema should be the same as the one converted from logical input schema.. SELECT ( SELECT id FROM table_with_metadata ) UNION ( SELECT id FROM table_with_metadata ); ----- -1 -3 -NULL -query I rowsort +statement error DataFusion error: Internal error: Physical input schema should be the same as the one converted from logical input schema.. SELECT "data"."id" FROM ( @@ -54,9 +50,6 @@ FROM SELECT "id" FROM "table_with_metadata" ) as "samples" WHERE "data"."id" = "samples"."id"; ----- -1 -3 statement ok drop table table_with_metadata;