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

Constant agg parameters will be replaced by ExprNodeColumnDesc with single-sourced multi-gby cases

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.12.0
    • None
    • None

    Description

      HIVE-3495 fixed this for single gbys but not for multi-gbys. For example,

      FROM (select key, cast(key as double) as value from src order by key) a
      INSERT OVERWRITE TABLE e1
          SELECT COUNT(*)
      INSERT OVERWRITE TABLE e2
          SELECT percentile_approx(value, 0.5);
      
      FAILED: UDFArgumentTypeException The second argument must be a constant, but double was passed instead.
      

      Attachments

        1. HIVE-4692.D11169.1.patch
          14 kB
          Phabricator

        Activity

          People

            navis Navis Ryu
            navis Navis Ryu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: