my-vegetable-has-exploded commented on issue #9111: URL: https://github.com/apache/arrow-datafusion/issues/9111#issuecomment-1943020831
> If I remember correctly `LogicalPlan` rule works with qualified column names. Let's think there is a plan such as: _A <- B <- C_ and B refers to `SomeColumn` with index `2`. If a projection is inserted between B and C, and `SomeColumn` then comes from the `1`th index, we should both update operator A and operator B. All expressions can be rewritten if a change occurs in the plan because of this kind of index changes. However `LogicalPlan`'s do not deal with indices. Otherwise, you are right. Some kind of partial pushdowns could be enough with a little iterations on the current rule. Is it like FunctionalDependence in DFSchema ? -- 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]
