mustafasrepo commented on PR #10095: URL: https://github.com/apache/arrow-datafusion/pull/10095#issuecomment-2060433916
> @mustafasrepo good catch on UNION -- I previously suggested that this kind of plan (with partitions > config.target_partitions) is "illegal" in DF. I agree, this behaviour is a bit counter intuitive. However, with current implementation of the `UnionExec` it is hard to make sure `partitions<=config.target_partitions` always `true`. If this behaviour prone to errors. Maybe we can insert `RepartitionExec` on top `UnionExec`s if their output partition number > `config.target_partitions`. By this way, we can guarantee this violation wouldn't propagate to other operators. -- 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]
