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

Wenchen Fan updated SPARK-20335:
--------------------------------
    Fix Version/s: 2.1.1

> Children expressions of Hive UDF impacts the determinism of Hive UDF
> --------------------------------------------------------------------
>
>                 Key: SPARK-20335
>                 URL: https://issues.apache.org/jira/browse/SPARK-20335
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.0.2, 2.1.0
>            Reporter: Xiao Li
>            Assignee: Xiao Li
>             Fix For: 2.1.1, 2.2.0
>
>
> {noformat}
>   /**
>    * Certain optimizations should not be applied if UDF is not deterministic.
>    * Deterministic UDF returns same result each time it is invoked with a
>    * particular input. This determinism just needs to hold within the context 
> of
>    * a query.
>    *
>    * @return true if the UDF is deterministic
>    */
>   boolean deterministic() default true;
> {noformat}
> Based on the definition o UDFType, when Hive UDF's children are 
> non-deterministic, Hive UDF is also non-deterministic.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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

Reply via email to