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

udaf percentile_approx() may fail on CBO

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0
    • CBO, Logical Optimizer, UDF
    • None

    Description

      select percentile_approx(key, array(0.50, 0.70, 0.90, 0.95, 0.99)) from t; fails with error : The second argument must be a constant.

      Attachments

        1. HIVE-16494.patch
          7 kB
          Miklos Gergely

        Issue Links

          Activity

            People

              mgergely Miklos Gergely
              ashutoshc Ashutosh Chauhan
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: