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 <[email protected]>
Authored: Mon Dec 17 16:59:37 2018 -0800
Committer: Prasanth Jayachandran <[email protected]>
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)");

Reply via email to