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


   I did actually hit a bug today where the when value was being evaluated even 
though the condition was false. I wasn't able to find the exact root cause yet 
but turning off subexpression elimination fixed the issue. It was basically 
`when(col.rlike(...), udf(col))`, but more complex on both sides so somehow the 
UDF was getting subexpression eval'd early and failed because it didn't match 
the regular expression


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