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

ReduceSinkDeDuplication throws exception when pRS key is empty

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 2.1.0
    • Logical Optimizer
    • None

    Description

      Steps to reproduce:

      set hive.mapred.mode=nonstrict;
      set hive.cbo.enable=false;
      
      set hive.map.aggr=false;
      
      set hive.groupby.skewindata=false;
      set mapred.reduce.tasks=31;
      
      select compute_stats(a,16),compute_stats(b,16),compute_stats(c,16),compute_stats(d,16)
      from
      (
      select
        avg(DISTINCT substr(src.value,5)) as a,
        max(substr(src.value,5)) as b,
        variance(substr(src.value,5)) as c,
        var_samp(substr(src.value,5)) as d
       from src)subq;
      

      Attachments

        1. HIVE-13260.01.patch
          6 kB
          Pengcheng Xiong
        2. HIVE-13260.02.patch
          14 kB
          Pengcheng Xiong

        Issue Links

          Activity

            People

              pxiong Pengcheng Xiong
              pxiong Pengcheng Xiong
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: