You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "XiDuo You (Jira)" <ji...@apache.org> on 2022/05/07 08:12:00 UTC

[jira] [Created] (SPARK-39122) Python UDF does not follow the conditional expression evaluation order

XiDuo You created SPARK-39122:
---------------------------------

             Summary: Python UDF does not follow the conditional expression evaluation order
                 Key: SPARK-39122
                 URL: https://issues.apache.org/jira/browse/SPARK-39122
             Project: Spark
          Issue Type: Sub-task
          Components: SQL
    Affects Versions: 3.4.0
            Reporter: XiDuo You


We will pull out python udf and run them eagerly whatever can be reached or not, so the below query will fail:
{code:java}
SELECT if(true, 1, python_udf(1/0)) {code}



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org