jonahgao commented on code in PR #21827:
URL: https://github.com/apache/datafusion/pull/21827#discussion_r3136910403
##########
datafusion/physical-plan/src/union.rs:
##########
@@ -612,13 +612,21 @@ impl ExecutionPlan for InterleaveExec {
self: Arc<Self>,
children: Vec<Arc<dyn ExecutionPlan>>,
) -> Result<Arc<dyn ExecutionPlan>> {
- // New children are no longer interleavable, which might be a bug of
optimization rewrite.
Review Comment:
As this comment says, I think another solution is to address it in the
optimizer.
This might be the root cause. Once identified, we can decide the best
option: either avoiding certain rewrites on InterleaveExec or falling back to
UnionExec.
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]