Repository: hive Updated Branches: refs/heads/branch-3 f6ad4e5aa -> eb7b35a93
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/eb7b35a9 Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/eb7b35a9 Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/eb7b35a9 Branch: refs/heads/branch-3 Commit: eb7b35a930452269d423d46eca8336f17bdbefd3 Parents: f6ad4e5 Author: Jesus Camacho Rodriguez <[email protected]> Authored: Sat Jun 23 22:58:06 2018 -0700 Committer: Jesus Camacho Rodriguez <[email protected]> Committed: Sun Jun 24 13:53:18 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/eb7b35a9/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 70a7f39..a383fa0 100644 --- a/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java +++ b/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java @@ -1602,7 +1602,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"),
