[ 
https://issues.apache.org/jira/browse/SPARK-18637?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Wenchen Fan updated SPARK-18637:
--------------------------------
    Assignee: Zhan Zhang

> Stateful UDF should be considered as nondeterministic
> -----------------------------------------------------
>
>                 Key: SPARK-18637
>                 URL: https://issues.apache.org/jira/browse/SPARK-18637
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>            Reporter: Zhan Zhang
>            Assignee: Zhan Zhang
>             Fix For: 2.1.0
>
>
> If the annotation UDFType of a udf is stateful, it shoudl be considered as 
> non-deterministic. Otherwise, the catalyst may optimize the plan and return 
> the wrong result.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to