Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-4367

Hive: UDAF functions cannot handle NULL values

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.19.0
    • None
    • None

    Description

      The UDAF functions cannot handle null values. It just throws a NullPointerException. We should properly handle null values in UDAF.
      For all UDAF functions that we have now: sum, count, ave, we should ignore the null values.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            zshao Zheng Shao
            zshao Zheng Shao
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment