cloud-fan edited a comment on pull request #27066:
URL: https://github.com/apache/spark/pull/27066#issuecomment-641878928


   if it's an issue, then we should have a general way to improve it, as the 
encoder expression can also have nested `If` expression.
   
   BTW Spark does common subexpressions elimination during codegen, so repeated 
expressions don't mean they are evaluated repeatedly.


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

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