You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A solid example of what I am looking for is, these plans will project a&c (first CsvExec), and b only (second CsvExec). Embedding the projection into CsvExec is already done, we just need to pushdown the projection below NestedLoopJoinExec
It's root cause is actually not CsvExec, it is NestedLoopJoinExec (projections can be embedded into CsvExec seamlessly). Moreover, the issue can be generalized as "improve projection pushdown logic on operators having built-in projection.
Giving more details, when a projection has an input having a built-in projection, it is either pushed-down over it through the children, or refine its built-in projection. However, these can happen at the same time, and the example in the issue description is a good reproducer of it.
Originally posted by @berkaysynnada in #14120 (comment)
Current optimization is like
where we could further pushdown projection to CscExec
Since we only requires
a, c
from left side andb
from right sideThe text was updated successfully, but these errors were encountered: