Lordworms commented on code in PR #9815:
URL: https://github.com/apache/arrow-datafusion/pull/9815#discussion_r1545721956


##########
datafusion/sqllogictest/test_files/repartition.slt:
##########
@@ -121,9 +121,9 @@ Limit: skip=0, fetch=5
 --Filter: sink_table.c3 > Int16(0)
 ----TableScan: sink_table projection=[c1, c2, c3]
 physical_plan
-GlobalLimitExec: skip=0, fetch=5
---CoalescePartitionsExec
-----CoalesceBatchesExec: target_batch_size=8192
+CoalescePartitionsExec
+--GlobalLimitExec: skip=0, fetch=5

Review Comment:
   I don't really understand the reason to add an extra LocalLimitExec, I think 
we could simply add a global fetch when hit the pattern.



-- 
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]

Reply via email to