Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-11160 Auto-gather column stats
  3. HIVE-16379

Deprecate hive.typecheck.on.insert

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      to repo, run

      et hive.compute.query.using.stats=false;
      set hive.stats.column.autogather=false;
      
      drop table if exists partcoltypeothers;
      create table partcoltypeothers (key int, value string) partitioned by (decpart decimal(6,2), datepart date);
      
      set hive.typecheck.on.insert=false;
      insert into partcoltypeothers partition (decpart = 1000.01BD, datepart = date '2015-4-13') select key, value from src limit 10;
      show partitions partcoltypeothers;
      
      analyze table partcoltypeothers partition (decpart = 1000.01BD, datepart = date '2015-4-13') compute statistics for columns;
      

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: