viirya commented on pull request #32595:
URL: https://github.com/apache/spark/pull/32595#issuecomment-844818147


   > is it a perf-only issue?
   
   In most cases, it is. But what I understand from @Kimahriman's description, 
seems in their usage like `when(..., udf(col))`, `udf(col)` will be wrongly 
treated as sub-expr and run in advance. But the udf fails for the input because 
it doesn't satisfy the condition.
   
   So it could cause query error.


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