comphead commented on PR #14160:
URL: https://github.com/apache/datafusion/pull/14160#issuecomment-2603433481

   > BatchCoalescer
   
   Thanks @berkaysynnada for your feedback, if I got you right, you prefer to 
call the `CoalesceBatchesExec` just AFTER the `SortMergeJoinExec` called in 
physical planner like for other join types? 
   
   I checked some tests in `joins.rs` and looks like the `CoalesceBatches` 
called before the join
   
   ```
       let expected = {
           [
               "SymmetricHashJoinExec: mode=Partitioned, join_type=Full, 
on=[(a2@1, a2@1)], filter=CAST(a1@0 AS Int64) > CAST(a1@1 AS Int64) + 3 AND 
CAST(a1@0 AS Int64) < CAST(a1@1 AS Int64) + 10",
               "  CoalesceBatchesExec: target_batch_size=8192",
               "    RepartitionExec: partitioning=Hash([a2@1], 8), 
input_partitions=8, preserve_order=true, sort_exprs=a1@0 ASC NULLS LAST",
               "      RepartitionExec: partitioning=RoundRobinBatch(8), 
input_partitions=1",
               // "     CsvExec: file_groups={1 group: [[tempdir/left.csv]]}, 
projection=[a1, a2], has_header=false",
               "  CoalesceBatchesExec: target_batch_size=8192",
               "    RepartitionExec: partitioning=Hash([a2@1], 8), 
input_partitions=8, preserve_order=true, sort_exprs=a1@0 ASC NULLS LAST",
               "      RepartitionExec: partitioning=RoundRobinBatch(8), 
input_partitions=1",
               // "     CsvExec: file_groups={1 group: [[tempdir/right.csv]]}, 
projection=[a1, a2], has_header=false"
           ]
       };
   ```
   
   perhaps I'm missing something?


-- 
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: github-unsubscr...@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to