You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "yjshen (via GitHub)" <gi...@apache.org> on 2023/04/03 09:24:35 UTC

[GitHub] [arrow-datafusion] yjshen commented on pull request #5837: Add new physical rule CombinePartialFinalAggregate

yjshen commented on PR #5837:
URL: https://github.com/apache/arrow-datafusion/pull/5837#issuecomment-1493980630

   I understand the collapsing rule as it removes the requirement of creating a RecordBatch from states and then reading them back for final evaluation.
   
   As for naming this new aggregation mode, I find `Complete` more descriptive when displayed as output, but I have no strong preference.
   ```scala
   ProjectionExec: expr=[l_partkey@0 as l_partkey, ....
     AggregateExec: mode=Single...
         ParquetExec ...
   ```
   ```scala
   ProjectionExec: expr=[l_partkey@0 as l_partkey, ...
     AggregateExec: mode=Complete...
         ParquetExec ...
   ```


-- 
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-unsubscribe@arrow.apache.org

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