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

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

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

              Dates

              • Created:
                Updated:
                Resolved: