Skip to content

Commit 62a9e64

Browse files
committed
Add order by clause to limit query for consistent results
1 parent bf7859e commit 62a9e64

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

datafusion/sqllogictest/test_files/limit.slt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -860,6 +860,7 @@ query I
860860
with selection as (
861861
select *
862862
from test_limit_with_partitions
863+
order by part_key
863864
limit 1
864865
)
865866
select 1 as foo

0 commit comments

Comments
 (0)