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

GenericUDAFEvaluator.isEstimable(agg) always returns false

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 1.2.1
    • 1.3.0, 2.1.0
    • UDF
    • GenericUDAFEvaluator.isEstimable(agg) always returns false (Gopal V, reviewed by Prasanth Jayachandran)

    Description

      GenericUDAFEvaluator.isEstimable(agg) always returns false, because annotation AggregationType has default RetentionPolicy.CLASS and cannot be retained by the VM at run time.
      As result estimate method will never be executed.

      Attachments

        1. HIVE-13021.addendum.patch
          3 kB
          Gopal Vijayaraghavan
        2. HIVE-13021.1.patch
          0.9 kB
          Gopal Vijayaraghavan

        Issue Links

          Activity

            People

              gopalv Gopal Vijayaraghavan
              Spring Serhii Zadorozhniak
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: