Kimahriman commented on pull request #32987:
URL: https://github.com/apache/spark/pull/32987#issuecomment-884914520


   https://github.com/apache/spark/pull/33142#discussion_r661540443 in other 
cases it's already accepted that the performance overhead of maybe only using a 
subexpression once is worth the trade-off of not having to potentially evaluate 
it twice, so this just expands the places that could happen. Personally I don't 
think it needs a config defaulting to turned off, but I'm fine leaving it in if 
necessary. It does effectively prevent all the existing cases of creating a 
subexpression for an expression that might only be evaluated once, like 
mentioned in the comment, if the config is turned off.


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