You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by ha...@apache.org on 2017/11/14 05:09:56 UTC

hive git commit: HIVE-15739 : Incorrect exception message in PartExprEvalUtils (Mark Wagner via Ashutosh Chauhan)

Repository: hive
Updated Branches:
  refs/heads/master 68d35fd60 -> c9a677864


HIVE-15739 : Incorrect exception message in PartExprEvalUtils (Mark Wagner via Ashutosh Chauhan)

Signed-off-by: Ashutosh Chauhan <ha...@apache.org>


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

Branch: refs/heads/master
Commit: c9a67786483edaf7480cc73cdec2e492a7f16f46
Parents: 68d35fd
Author: Mark Wagner <wa...@gmail.com>
Authored: Thu Jan 26 13:36:00 2017 -0800
Committer: Ashutosh Chauhan <ha...@apache.org>
Committed: Mon Nov 13 21:09:10 2017 -0800

----------------------------------------------------------------------
 .../org/apache/hadoop/hive/ql/optimizer/ppr/PartExprEvalUtils.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/c9a67786/ql/src/java/org/apache/hadoop/hive/ql/optimizer/ppr/PartExprEvalUtils.java
----------------------------------------------------------------------
diff --git a/ql/src/java/org/apache/hadoop/hive/ql/optimizer/ppr/PartExprEvalUtils.java b/ql/src/java/org/apache/hadoop/hive/ql/optimizer/ppr/PartExprEvalUtils.java
index 1103d35..d80c8f5 100644
--- a/ql/src/java/org/apache/hadoop/hive/ql/optimizer/ppr/PartExprEvalUtils.java
+++ b/ql/src/java/org/apache/hadoop/hive/ql/optimizer/ppr/PartExprEvalUtils.java
@@ -61,7 +61,7 @@ public class PartExprEvalUtils {
     String[] partKeyTypes = pcolTypes.trim().split(":");
 
     if (partSpec.size() != partKeyTypes.length) {
-        throw new HiveException("Internal error : Partition Spec size, " + partProps.size() +
+        throw new HiveException("Internal error : Partition Spec size, " + partSpec.size() +
                 " doesn't match partition key definition size, " + partKeyTypes.length);
     }
     boolean hasVC = vcs != null && !vcs.isEmpty();