jorgecarleitao opened a new pull request #8738: URL: https://github.com/apache/arrow/pull/8738
This PR extends the filter pushdown optimizer to support nodes of multiple children. In the context of the `join`, this allows to push filters down the joins. E.g. ``` "\ Filter: #a LtEq Int64(1)\ \n Join: a = a\ \n TableScan: test projection=None\ \n TableScan: test projection=None" ``` is optimized to ``` "\ Join: a = a\ \n Filter: #a LtEq Int64(1)\ \n TableScan: test projection=None\ \n Filter: #a LtEq Int64(1)\ \n TableScan: test projection=None" ``` This also reduces the complexity of the optimizer by making it perform a single pass on the plan. Naturally, this has a major implication in performance as the `join` is an expensive operation. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected]
