[
https://issues.apache.org/jira/browse/HIVE-2726?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Phabricator updated HIVE-2726:
------------------------------
Attachment: HIVE-2726.D1317.2.patch
jonchang updated the revision "HIVE-2726 [jira] COALESCE(NULL, NULL) NPEs".
Reviewers: JIRA, jsichi, raghotham, njain
Change the way it works so it no loner applies to ARRAY() and MAP(). Also
clean up the way SORT_ARRAY() works.
REVISION DETAIL
https://reviews.facebook.net/D1317
AFFECTED FILES
ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDFCoalesce.java
ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDFSortArray.java
ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDFUtils.java
ql/src/test/queries/clientpositive/udf_coalesce.q
ql/src/test/results/clientpositive/udf_coalesce.q.out
ql/src/test/results/clientpositive/udf_sort_array.q.out
> COALESCE(NULL, NULL) NPEs
> -------------------------
>
> Key: HIVE-2726
> URL: https://issues.apache.org/jira/browse/HIVE-2726
> Project: Hive
> Issue Type: Bug
> Reporter: Jonathan Chang
> Assignee: Jonathan Chang
> Priority: Minor
> Attachments: HIVE-2726.D1317.1.patch, HIVE-2726.D1317.1.patch,
> HIVE-2726.D1317.2.patch, HIVE-2726.D1677.1.patch
>
>
> ReturnOIResolver returns null when it gets no non-void arguments. This is
> bad.
--
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