Skip to content

Commit

Permalink
fix query
Browse files Browse the repository at this point in the history
  • Loading branch information
avantgardnerio committed Oct 4, 2024
1 parent d8f0705 commit f58bd29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datafusion/sqllogictest/test_files/aggregates_topk.slt
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ physical_plan
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;
select * from (select trace_id, MAX(timestamp) max_ts from traces t group by trace_id) where trace_id != 'a' order by max_ts desc limit 3;
----
c 4
b 3
Expand Down

0 comments on commit f58bd29

Please sign in to comment.