Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-9936

fix potential NPE in DefaultUDAFEvaluatorResolver

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.2.0
    • UDF
    • None

    Description

      In some cases DefaultUDAFEvaluatorResolver calls new AmbiguousMethodException(udafClass, null, null) (line 94)
      This will throw NPE because AmbiguousMethodException calls argTypeInfos.toString()
      argTypeInfos is the second parameter and it can not be null.

      Attachments

        1. HIVE-9936.1.patch
          0.9 kB
          Alexander Pivovarov

        Activity

          People

            apivovarov Alexander Pivovarov
            apivovarov Alexander Pivovarov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: