berkaysynnada commented on PR #15566: URL: https://github.com/apache/datafusion/pull/15566#issuecomment-2796969760
> I don't think dynamic vs. static is the right distinction to make here. I did it since your examples were on dynamic filters. I just wanted to show dynamic filters case will not be a problem at all. > IMO what really needs to happen is that each node gets to decide what to do with the remaining filters, and be able to distinguish between the filters it offered up and the ones that came down from parents. We can do that without any difficulty with the proposed design > So for example a `SortExec` will "handle" the filter it injected by doing nothing with it and will transmit up the chain that it could not handle any of the filters that were passed down. These are all trivial to implement. If all things will become more clear, I can clone this branch, and update the optimizer and execution plan API according to the proposal, and submit the alternative PR to address the questions in your mind. -- 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: github-unsubscr...@datafusion.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org