Skip to content

Commit

Permalink
Use EXCEPT to trigger failure
Browse files Browse the repository at this point in the history
  • Loading branch information
eejbyfeldt committed Jul 4, 2024
1 parent c1b4c8e commit 47a2e02
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions datafusion/sqllogictest/test_files/joins.slt
Original file line number Diff line number Diff line change
Expand Up @@ -1350,7 +1350,6 @@ physical_plan
10)----------RepartitionExec: partitioning=RoundRobinBatch(2), input_partitions=1
11)------------MemoryExec: partitions=1, partition_sizes=[1]


# Join on struct
query TT
explain select join_t3.s3, join_t4.s4
Expand All @@ -1373,23 +1372,20 @@ physical_plan
09)--------RepartitionExec: partitioning=RoundRobinBatch(2), input_partitions=1
10)----------MemoryExec: partitions=1, partition_sizes=[1]


query ??
select join_t3.s3, join_t4.s4
from join_t3
inner join join_t4 on join_t3.s3 = join_t4.s4
----
{id: 2} {id: 2}

# Join on struct using IS NOT DISTINCT FROM
query ??
select join_t3.s3, join_t4.s4
from join_t3
inner join join_t4 on join_t3.s3 IS NOT DISTINCT FROM join_t4.s4
# join with struct key and nulls
query ?
SELECT * FROM join_t3
EXCEPT
SELECT * FROM join_t4
----
NULL NULL
{id: 2} {id: 2}

{id: 1}

query TT
EXPLAIN
Expand Down

0 comments on commit 47a2e02

Please sign in to comment.