Kimahriman commented on PR #43623:
URL: https://github.com/apache/spark/pull/43623#issuecomment-1793739993

   What's the longer term goal with this, especially in the context of all the 
attempts to add CSE to conditional expressions? Is the idea to make a `with` 
Column expression that can be manually used? Honestly when I started with Spark 
I assumed this was the default behavior if you re-used a Column object multiple 
times in an expression. 
   
   Just out of curiosity, since this is basically manual CSE at the optimizer 
stage, would it make sense to do the existing fully recursive, automatic CSE at 
the optimizer stage instead of the physical stage to achieve a similar affect?


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