You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by pengcheng xiong <px...@hortonworks.com> on 2015/07/10 07:24:49 UTC
Review Request 36386: Auto-gather column stats
-----------------------------------------------------------
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