Skip to content

Commit

Permalink
uncomment test
Browse files Browse the repository at this point in the history
  • Loading branch information
comphead committed Mar 5, 2024
1 parent d8d8a7b commit 4030e97
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions datafusion/sqllogictest/test_files/limit.slt
Original file line number Diff line number Diff line change
Expand Up @@ -389,18 +389,18 @@ SELECT ROW_NUMBER() OVER (PARTITION BY t1.column1) FROM t t1, t t2, t t3;

# verify that there are multiple partitions in the input (i.e. MemoryExec says
# there are 4 partitions) so that this tests multi-partition limit.
#query TT
#EXPLAIN SELECT DISTINCT i FROM t1000;
#----
#logical_plan
#Aggregate: groupBy=[[t1000.i]], aggr=[[]]
#--TableScan: t1000 projection=[i]
#physical_plan
#AggregateExec: mode=FinalPartitioned, gby=[i@0 as i], aggr=[]
#--CoalesceBatchesExec: target_batch_size=8192
#----RepartitionExec: partitioning=Hash([i@0], 4), input_partitions=4
#------AggregateExec: mode=Partial, gby=[i@0 as i], aggr=[]
#--------MemoryExec: partitions=4, partition_sizes=[1, 2, 1, 1]
query TT
EXPLAIN SELECT DISTINCT i FROM t1000;
----
logical_plan
Aggregate: groupBy=[[t1000.i]], aggr=[[]]
--TableScan: t1000 projection=[i]
physical_plan
AggregateExec: mode=FinalPartitioned, gby=[i@0 as i], aggr=[]
--CoalesceBatchesExec: target_batch_size=8192
----RepartitionExec: partitioning=Hash([i@0], 4), input_partitions=4
------AggregateExec: mode=Partial, gby=[i@0 as i], aggr=[]
--------MemoryExec: partitions=4, partition_sizes=[1, 2, 1, 1]

query I
SELECT i FROM t1000 ORDER BY i DESC LIMIT 3;
Expand Down

0 comments on commit 4030e97

Please sign in to comment.