Repository: hive Updated Branches: refs/heads/master 422b35759 -> 608194fc5
HIVE-15679: Some metastore metrics always contains column=null (write_column_statistics, write_partition_column_statistics) (Peter Vary, reviewed by Rajesh Balamohan) Project: http://git-wip-us.apache.org/repos/asf/hive/repo Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/608194fc Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/608194fc Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/608194fc Branch: refs/heads/master Commit: 608194fc5f6c6897c8860588d9dc51600e5f924f Parents: 422b357 Author: Aihua Xu <aihu...@apache.org> Authored: Wed Jan 25 09:25:17 2017 -0500 Committer: Aihua Xu <aihu...@apache.org> Committed: Wed Jan 25 09:25:17 2017 -0500 ---------------------------------------------------------------------- .../src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hive/blob/608194fc/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java ---------------------------------------------------------------------- diff --git a/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java b/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java index 121b825..13d0aab 100644 --- a/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java +++ b/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java @@ -4839,7 +4839,7 @@ public class HiveMetaStore extends ThriftHiveMetastore { List<ColumnStatisticsObj> statsObjs = colStats.getStatsObj(); startFunction("write_column_statistics", ": db=" + dbName - + " table=" + tableName + " column=" + colName); + + " table=" + tableName); for (ColumnStatisticsObj statsObj:statsObjs) { colName = statsObj.getColName().toLowerCase(); statsObj.setColName(colName); @@ -4882,7 +4882,7 @@ public class HiveMetaStore extends ThriftHiveMetastore { startFunction("write_partition_column_statistics", ": db=" + dbName + " table=" + tableName - + " part=" + partName + "column=" + colName); + + " part=" + partName); for (ColumnStatisticsObj statsObj:statsObjs) { colName = statsObj.getColName().toLowerCase(); statsObj.setColName(colName);