Repository: hive
Updated Branches:
  refs/heads/master 950335705 -> 49d8414d0


update MetaStoreSchemaInfo for 1.2.1


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

Branch: refs/heads/master
Commit: 49d8414d0e0f220a8924120c75a4013b942a4612
Parents: 9503357
Author: Thejas Nair <[email protected]>
Authored: Thu Jun 18 12:57:19 2015 -0700
Committer: Thejas Nair <[email protected]>
Committed: Thu Jun 18 12:58:01 2015 -0700

----------------------------------------------------------------------
 .../org/apache/hadoop/hive/metastore/MetaStoreSchemaInfo.java  | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/49d8414d/metastore/src/java/org/apache/hadoop/hive/metastore/MetaStoreSchemaInfo.java
----------------------------------------------------------------------
diff --git 
a/metastore/src/java/org/apache/hadoop/hive/metastore/MetaStoreSchemaInfo.java 
b/metastore/src/java/org/apache/hadoop/hive/metastore/MetaStoreSchemaInfo.java
index c4062e9..a5eed6d 100644
--- 
a/metastore/src/java/org/apache/hadoop/hive/metastore/MetaStoreSchemaInfo.java
+++ 
b/metastore/src/java/org/apache/hadoop/hive/metastore/MetaStoreSchemaInfo.java
@@ -48,7 +48,11 @@ public class MetaStoreSchemaInfo {
   // that has a corresponding schema. eg "0.13.1" is equivalent to "0.13.0"
   private static final Map<String, String> EQUIVALENT_VERSIONS =
       ImmutableMap.of("0.13.1", "0.13.0",
-          "1.0.0", "0.14.0", "1.0.1", "1.0.0", "1.1.1", "1.1.0");
+          "1.0.0", "0.14.0",
+          "1.0.1", "1.0.0",
+          "1.1.1", "1.1.0",
+          "1.2.1", "1.2.0"
+      );
 
   public MetaStoreSchemaInfo(String hiveHome, HiveConf hiveConf, String 
dbType) throws HiveMetaException {
     this.hiveHome = hiveHome;

Reply via email to