jayzhan211 commented on PR #7242: URL: https://github.com/apache/arrow-datafusion/pull/7242#issuecomment-1676144678
One of the problems I met is I would get NullArray from batch (RecordBatch) if I did not set the target partition to 1. https://github.com/apache/arrow-datafusion/blob/00627785718d9d98998021bf44585f32c33af3ea/datafusion/core/src/physical_plan/aggregates/no_grouping.rs#L112-L114 CoalescePartitionsExec is the one that sent the batch with NullArray. The default partition seems to be 4. I would need to set `set datafusion.execution.target_partitions = 1;` in `array.slt`. I'm not yet fully understand why it that, not confident on whether this is the correct fix or workaround. -- 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]
