alamb commented on issue #19905: URL: https://github.com/apache/datafusion/issues/19905#issuecomment-7352641172
> I'd rather deep copy lands first or at the same time. This sounds like a good plan to me. > For deep copy, same as @AhmedSoliman: a hook on ExecutionPlan that maps old filter ids to new filters, default no-op, so custom scans can join in. +1. The other more general proposal I heard was a `map_expressions` type API to mirror apply_expressions to rewrite all expressions in a node -- it would be a bigger change, but more general (ExecutionPlan would get a map_expressions method rather than something related to dynamic filters) We could then offer an convenience method that used map_expressions to rewrite all dynamic expressions -- 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]
