hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "pengcheng xiong" <pxi...@hortonworks.com>
Subject Review Request 36386: Auto-gather column stats
Date Fri, 10 Jul 2015 05:24:49 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/36386/
-----------------------------------------------------------

Review request for hive and John Pullokkaran.


Repository: hive-git


Description
-------

Hive will collect table stats when set hive.stats.autogather=true during the INSERT OVERWRITE
command. And then the users need to collect the column stats themselves using "Analyze" command.
In this patch, the column stats will also be collected automatically when a flag is set.


Diffs
-----

  common/src/java/org/apache/hadoop/hive/conf/HiveConf.java 39477d6 
  metastore/src/java/org/apache/hadoop/hive/metastore/AggregateStatsCache.java 44106f5 
  ql/src/java/org/apache/hadoop/hive/ql/optimizer/Optimizer.java d688ef1 
  ql/src/java/org/apache/hadoop/hive/ql/parse/CalcitePlanner.java 3b5dbe2 
  ql/src/java/org/apache/hadoop/hive/ql/parse/ColumnStatsAutoGatherContext.java PRE-CREATION

  ql/src/java/org/apache/hadoop/hive/ql/parse/ColumnStatsSemanticAnalyzer.java a5f0a7f 
  ql/src/java/org/apache/hadoop/hive/ql/parse/ParseContext.java 5872e8e 
  ql/src/java/org/apache/hadoop/hive/ql/parse/QBParseInfo.java 14a7e9c 
  ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java b02374e 
  ql/src/java/org/apache/hadoop/hive/ql/parse/TaskCompiler.java ba11e41 
  ql/src/test/queries/clientpositive/autoColumnStats.q PRE-CREATION 
  ql/src/test/results/clientpositive/autoColumnStats.q.out PRE-CREATION 

Diff: https://reviews.apache.org/r/36386/diff/


Testing
-------


Thanks,

pengcheng xiong


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message