Skip to content

Commit

Permalink
test: possible reproducer of issue 12560
Browse files Browse the repository at this point in the history
  • Loading branch information
wiedld committed Sep 28, 2024
1 parent 30f1a70 commit c15ef47
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions datafusion/sqllogictest/test_files/metadata.slt
Original file line number Diff line number Diff line change
Expand Up @@ -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
(
Expand All @@ -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;

0 comments on commit c15ef47

Please sign in to comment.