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/10/29 22:46:21 UTC

hive git commit: HIVE-20820: MV partition on clause position (Jesus Camacho Rodriguez, reviewed by Vineet Garg)

Repository: hive
Updated Branches:
  refs/heads/master 64bea0354 -> 1656e1bd8


HIVE-20820: MV partition on clause position (Jesus Camacho Rodriguez, reviewed by Vineet Garg)


Project: http://git-wip-us.apache.org/repos/asf/hive/repo
Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/1656e1bd
Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/1656e1bd
Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/1656e1bd

Branch: refs/heads/master
Commit: 1656e1bd892bb47e50ee8352813b0dab6f230bb4
Parents: 64bea03
Author: Jesus Camacho Rodriguez <jc...@apache.org>
Authored: Mon Oct 29 15:45:41 2018 -0700
Committer: Jesus Camacho Rodriguez <jc...@apache.org>
Committed: Mon Oct 29 15:46:11 2018 -0700

----------------------------------------------------------------------
 ql/src/java/org/apache/hadoop/hive/ql/parse/HiveParser.g | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/1656e1bd/ql/src/java/org/apache/hadoop/hive/ql/parse/HiveParser.g
----------------------------------------------------------------------
diff --git a/ql/src/java/org/apache/hadoop/hive/ql/parse/HiveParser.g b/ql/src/java/org/apache/hadoop/hive/ql/parse/HiveParser.g
index 7dda8b3..1ffdec0 100644
--- a/ql/src/java/org/apache/hadoop/hive/ql/parse/HiveParser.g
+++ b/ql/src/java/org/apache/hadoop/hive/ql/parse/HiveParser.g
@@ -1959,8 +1959,8 @@ createMaterializedViewStatement
 }
 @after { popMsg(state); }
     : KW_CREATE KW_MATERIALIZED KW_VIEW (ifNotExists)? name=tableName
-        rewriteDisabled? tableComment? tableRowFormat? tableFileFormat? tableLocation?
-        viewPartition? tablePropertiesPrefixed? KW_AS selectStatementWithCTE
+        rewriteDisabled? tableComment? viewPartition? tableRowFormat? tableFileFormat? tableLocation?
+        tablePropertiesPrefixed? KW_AS selectStatementWithCTE
     -> ^(TOK_CREATE_MATERIALIZED_VIEW $name
          ifNotExists?
          rewriteDisabled?