[
https://issues.apache.org/jira/browse/SPARK-20335?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15968639#comment-15968639
]
Apache Spark commented on SPARK-20335:
--------------------------------------
User 'gatorsmile' has created a pull request for this issue:
https://github.com/apache/spark/pull/17635
> 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
>
> {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]