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

Hive: UDAF functions cannot handle NULL values

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.19.0
    • Component/s: None
    • Labels:
      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

            People

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

              Dates

              • Created:
                Updated:
                Resolved: