From 058d4a5d9c5613c9768682e490cc94115db295d0 Mon Sep 17 00:00:00 2001 From: Ashutosh Chauhan Date: Wed, 14 Oct 2015 18:23:25 -0700 Subject: [PATCH] HIVE-12181 : Change hive.stats.fetch.column.stats default value to true --- common/src/java/org/apache/hadoop/hive/conf/HiveConf.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java b/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java index 0fcd39b..11d1dbf 100644 --- a/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java +++ b/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java @@ -1439,7 +1439,7 @@ public void setSparkConfigUpdated(boolean isSparkConfigUpdated) { "and will estimate the number of rows from row schema."), // statistics annotation fetches column statistics for all required columns which can // be very expensive sometimes - HIVE_STATS_FETCH_COLUMN_STATS("hive.stats.fetch.column.stats", false, + HIVE_STATS_FETCH_COLUMN_STATS("hive.stats.fetch.column.stats", true, "Annotation of operator tree with statistics information requires column statistics.\n" + "Column statistics are fetched from metastore. Fetching column statistics for each needed column\n" + "can be expensive when the number of columns is high. This flag can be used to disable fetching\n" + -- 1.7.12.4 (Apple Git-37)