cloud-fan commented on PR #43623:
URL: https://github.com/apache/spark/pull/43623#issuecomment-1794079004

   > What's the longer term goal with this, especially in the context of all 
the attempts to add CSE to conditional expressions? 
   
   I think the final state should be implementing CSE at the logical plan 
level, so that it works for both codegen backend and native (vectorized) 
backend. But we still have gaps now. The `With` expression only works for 
operators that can add extra projects. It doesn't work for join conditions, 
while codegen is more flexible. Also codegen CSE is more adaptive and can be 
used for conditional expressions, but `With` is static. Before filling the 
gaps, `With` can't replace the current codegen CSE.


-- 
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]

Reply via email to