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

   conditional expressions is the only way people can control side effects. 
e.g. `IF(cond, trueExpr, falseExpr)` guarantees that `trueExpr` will only be 
evaluated if condition is true. This optimization breaks it and the benefits do 
not seem significant.
   
   @wangyum shall we revert this optimizer rule? cc @viirya @rednaxelafx 
@sigmod 


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