Skip to content

Commit

Permalink
Failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
avantgardnerio committed Oct 4, 2024
1 parent d4bc1c1 commit d8f0705
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions datafusion/sqllogictest/test_files/aggregates_topk.slt
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,12 @@ physical_plan
07)------------AggregateExec: mode=Partial, gby=[trace_id@0 as trace_id], aggr=[max(traces.timestamp)]
08)--------------MemoryExec: partitions=1, partition_sizes=[1]

query TI
select * from (select tid, MAX(timestamp) mts from traces t group by tid) where tid != 'a' order by mts desc limit 3;
----
c 4
b 3
NULL 0

query TI
select trace_id, MAX(timestamp) from traces group by trace_id order by MAX(timestamp) desc limit 4;
Expand Down

0 comments on commit d8f0705

Please sign in to comment.