You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by jc...@apache.org on 2018/06/24 20:53:02 UTC
hive git commit: HIVE-19973: Enable materialized view rewriting by
default (Jesus Camacho Rodriguez, reviewed by Ashutosh Chauhan)
Repository: hive
Updated Branches:
refs/heads/master 97a6e163f -> ba210c904
HIVE-19973: Enable materialized view rewriting by default (Jesus Camacho Rodriguez, reviewed by Ashutosh Chauhan)
Project: http://git-wip-us.apache.org/repos/asf/hive/repo
Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/ba210c90
Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/ba210c90
Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/ba210c90
Branch: refs/heads/master
Commit: ba210c904aa53269d5793b7071f89ade9feca9af
Parents: 97a6e16
Author: Jesus Camacho Rodriguez <jc...@apache.org>
Authored: Sat Jun 23 22:58:06 2018 -0700
Committer: Jesus Camacho Rodriguez <jc...@apache.org>
Committed: Sun Jun 24 13:52:58 2018 -0700
----------------------------------------------------------------------
common/src/java/org/apache/hadoop/hive/conf/HiveConf.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hive/blob/ba210c90/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java
----------------------------------------------------------------------
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 49d1e52..3691786 100644
--- a/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java
+++ b/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java
@@ -1607,7 +1607,7 @@ public class HiveConf extends Configuration {
"columns in operators such as Aggregate or Join so that we try to reduce the number of shuffling stages"),
// materialized views
- HIVE_MATERIALIZED_VIEW_ENABLE_AUTO_REWRITING("hive.materializedview.rewriting", false,
+ HIVE_MATERIALIZED_VIEW_ENABLE_AUTO_REWRITING("hive.materializedview.rewriting", true,
"Whether to try to rewrite queries using the materialized views enabled for rewriting"),
HIVE_MATERIALIZED_VIEW_REWRITING_SELECTION_STRATEGY("hive.materializedview.rewriting.strategy", "heuristic",
new StringSet("heuristic", "costbased"),