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

Recompile the query if CBO has failed

    XMLWordPrintableJSON

Details

    Description

      set hive.cbo.enable=true;
      
      drop table if exists aa1;
      drop table if exists bb1;
      drop table if exists cc1;
      drop table if exists dd1;
      drop table if exists ee1;
      drop table if exists ff1;
      
      create table aa1 ( stf_id string);
      create table bb1 ( stf_id string);
      create table cc1 ( stf_id string);
      create table ff1 ( x string);
      
      explain
      from ff1 as a join cc1 as b 
      insert overwrite table aa1 select   stf_id GROUP BY b.stf_id
      insert overwrite table bb1 select b.stf_id GROUP BY b.stf_id
      ;
      
      

      Attachments

        Issue Links

          Activity

            People

              pvary Peter Vary
              kgyrtkirk Zoltan Haindrich
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 6h 40m
                  6h 40m