hive git commit: HIVE-20785: Wrong key name in the JDBC DatabaseMetaData.getPrimaryKeys method (Guillaume Grossetie reviewed by Prasanth Jayachandran)

2018-12-17 Thread prasanthj
Repository: hive
Updated Branches:
  refs/heads/branch-3 3db928668 -> 1ea6e49cf


HIVE-20785: Wrong key name in the JDBC DatabaseMetaData.getPrimaryKeys method 
(Guillaume Grossetie reviewed by Prasanth Jayachandran)


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

Branch: refs/heads/branch-3
Commit: 1ea6e49cf9eac41908ee2952917eba7bce656179
Parents: 3db9286
Author: Guillaume Grossetie 
Authored: Mon Dec 17 16:59:37 2018 -0800
Committer: Prasanth Jayachandran 
Committed: Mon Dec 17 17:02:08 2018 -0800

--
 .../apache/hive/service/cli/operation/GetPrimaryKeysOperation.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/hive/blob/1ea6e49c/service/src/java/org/apache/hive/service/cli/operation/GetPrimaryKeysOperation.java
--
diff --git 
a/service/src/java/org/apache/hive/service/cli/operation/GetPrimaryKeysOperation.java
 
b/service/src/java/org/apache/hive/service/cli/operation/GetPrimaryKeysOperation.java
index e603fdd..2daa60e 100644
--- 
a/service/src/java/org/apache/hive/service/cli/operation/GetPrimaryKeysOperation.java
+++ 
b/service/src/java/org/apache/hive/service/cli/operation/GetPrimaryKeysOperation.java
@@ -60,7 +60,7 @@ PK_NAME String => primary key name (may be null)
   "Table name")
   .addPrimitiveColumn("COLUMN_NAME", Type.STRING_TYPE,
   "Column name")
-  .addPrimitiveColumn("KEQ_SEQ", Type.INT_TYPE,
+  .addPrimitiveColumn("KEY_SEQ", Type.INT_TYPE,
   "Sequence number within primary key")
   .addPrimitiveColumn("PK_NAME", Type.STRING_TYPE,
   "Primary key name (may be null)");



hive git commit: HIVE-20785: Wrong key name in the JDBC DatabaseMetaData.getPrimaryKeys method (Guillaume Grossetie reviewed by Prasanth Jayachandran)

2018-12-17 Thread prasanthj
Repository: hive
Updated Branches:
  refs/heads/master ec5ce5da8 -> 87f8eccf9


HIVE-20785: Wrong key name in the JDBC DatabaseMetaData.getPrimaryKeys method 
(Guillaume Grossetie reviewed by Prasanth Jayachandran)


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

Branch: refs/heads/master
Commit: 87f8eccf92c4be11858b1559e501f854eb814542
Parents: ec5ce5d
Author: Guillaume Grossetie 
Authored: Mon Dec 17 16:59:37 2018 -0800
Committer: Prasanth Jayachandran 
Committed: Mon Dec 17 17:01:14 2018 -0800

--
 .../apache/hive/service/cli/operation/GetPrimaryKeysOperation.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/hive/blob/87f8eccf/service/src/java/org/apache/hive/service/cli/operation/GetPrimaryKeysOperation.java
--
diff --git 
a/service/src/java/org/apache/hive/service/cli/operation/GetPrimaryKeysOperation.java
 
b/service/src/java/org/apache/hive/service/cli/operation/GetPrimaryKeysOperation.java
index 55f4ab6..0e5d5c1 100644
--- 
a/service/src/java/org/apache/hive/service/cli/operation/GetPrimaryKeysOperation.java
+++ 
b/service/src/java/org/apache/hive/service/cli/operation/GetPrimaryKeysOperation.java
@@ -62,7 +62,7 @@ PK_NAME String => primary key name (may be null)
   "Table name")
   .addPrimitiveColumn("COLUMN_NAME", Type.STRING_TYPE,
   "Column name")
-  .addPrimitiveColumn("KEQ_SEQ", Type.INT_TYPE,
+  .addPrimitiveColumn("KEY_SEQ", Type.INT_TYPE,
   "Sequence number within primary key")
   .addPrimitiveColumn("PK_NAME", Type.STRING_TYPE,
   "Primary key name (may be null)");