zhuqi-lucas commented on code in PR #18817:
URL: https://github.com/apache/datafusion/pull/18817#discussion_r2554047913


##########
datafusion/sqllogictest/test_files/topk.slt:
##########
@@ -338,9 +338,7 @@ physical_plan
 query TT
 explain select number, letter, age from partial_sorted order by number asc 
limit 3;
 ----
-physical_plan
-01)SortExec: TopK(fetch=3), expr=[number@0 ASC NULLS LAST], 
preserve_partitioning=[false]

Review Comment:
   Topk also optimized to remove the sort.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to