[
https://issues.apache.org/jira/browse/HIVE-2532?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Phabricator updated HIVE-2532:
------------------------------
Attachment: D273.2.patch
jonchang updated the revision "HIVE-2532 [jira] Evaluation of
non-deterministic/stateful UDFs should not be skipped even if constant oi is
returned.".
Reviewers: JIRA, jsichi
Make deterministic check recursive. Add unittest to test for this case.
REVISION DETAIL
https://reviews.facebook.net/D273
AFFECTED FILES
ql/src/java/org/apache/hadoop/hive/ql/exec/ExprNodeEvaluator.java
ql/src/java/org/apache/hadoop/hive/ql/exec/ExprNodeGenericFuncEvaluator.java
ql/src/java/org/apache/hadoop/hive/ql/exec/FunctionRegistry.java
ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDFAssertTrue.java
ql/src/test/queries/clientnegative/udf_assert_true.q
ql/src/test/queries/clientnegative/udf_assert_true2.q
ql/src/test/results/clientnegative/udf_assert_true.q.out
ql/src/test/results/clientnegative/udf_assert_true2.q.out
ql/src/test/results/clientpositive/show_functions.q.out
> Evaluation of non-deterministic/stateful UDFs should not be skipped even if
> constant oi is returned.
> ----------------------------------------------------------------------------------------------------
>
> Key: HIVE-2532
> URL: https://issues.apache.org/jira/browse/HIVE-2532
> Project: Hive
> Issue Type: Bug
> Reporter: Jonathan Chang
> Assignee: Jonathan Chang
> Attachments: D273.1.patch, D273.2.patch
>
>
> Even if constant oi is returned, these may have stateful/side-effect behavior
> and hence need to be called each cycle.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira