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

BucketingSortingReduceSinkOptimizer throws IOB exception for duplicate columns

    XMLWordPrintableJSON

Details

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

    Description

      set hive.enforce.bucketing=true;
      set hive.enforce.sorting=true;
      CREATE TABLE temp1
      (
          change int ,
          num int
      )
      CLUSTERED BY (num) SORTED BY (num) INTO 4 BUCKETS;
      
      create table temp2
      (  
        num int
      );
      explain 
      INSERT OVERWRITE TABLE temp1
      SELECT  num,  num
      FROM temp2;
      

      Attachments

        1. HIVE-12332.patch
          6 kB
          Ashutosh Chauhan
        2. HIVE-12332.patch
          6 kB
          Ashutosh Chauhan

        Issue Links

          Activity

            People

              ashutoshc Ashutosh Chauhan
              ashutoshc Ashutosh Chauhan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: