raghavyadav01 commented on issue #19905: URL: https://github.com/apache/datafusion/issues/19905#issuecomment-7326552608
+1 on splitting sequential reuse from deep copy. One ordering thing worries me. Today `SortExec` gives the reset copy a new filter (#27142, which fixed #27130 when two copies from one cached plan shared the TopK bound). If we move `SortExec` to in place reset first, #27130 is back for anyone who copies that way. I'd rather deep copy lands first or at the same time. 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. @Kristofferjoha still planning to try the rebinding? I can help with the hook or moving `SortExec` once deep copy is there. -- 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]
