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 <ggrosse...@yuzutech.fr> Authored: Mon Dec 17 16:59:37 2018 -0800 Committer: Prasanth Jayachandran <prasan...@apache.org> 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)");