[ 
https://issues.apache.org/jira/browse/SPARK-18637?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15706935#comment-15706935
 ] 

Apache Spark commented on SPARK-18637:
--------------------------------------

User 'zhzhan' has created a pull request for this issue:
https://github.com/apache/spark/pull/16068

> 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
>
> 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: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to