You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by ek...@apache.org on 2015/10/05 22:41:28 UTC

hive git commit: HIVE-12035 -p branch-1 build broken (Eugene Koifman, reviewed by Xuefu Zhang)

Repository: hive
Updated Branches:
  refs/heads/branch-1 574094685 -> 411049167


HIVE-12035 -p branch-1 build broken (Eugene Koifman, reviewed by Xuefu Zhang)


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

Branch: refs/heads/branch-1
Commit: 411049167ffaf3626e3d5c47a2ed13129a6bab2a
Parents: 5740946
Author: Eugene Koifman <ek...@hortonworks.com>
Authored: Mon Oct 5 13:41:22 2015 -0700
Committer: Eugene Koifman <ek...@hortonworks.com>
Committed: Mon Oct 5 13:41:22 2015 -0700

----------------------------------------------------------------------
 .../src/java/org/apache/hadoop/hive/common/type/HiveDecimal.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/41104916/common/src/java/org/apache/hadoop/hive/common/type/HiveDecimal.java
----------------------------------------------------------------------
diff --git a/common/src/java/org/apache/hadoop/hive/common/type/HiveDecimal.java b/common/src/java/org/apache/hadoop/hive/common/type/HiveDecimal.java
index da88b7a..e357415 100644
--- a/common/src/java/org/apache/hadoop/hive/common/type/HiveDecimal.java
+++ b/common/src/java/org/apache/hadoop/hive/common/type/HiveDecimal.java
@@ -272,7 +272,7 @@ public class HiveDecimal implements Comparable<HiveDecimal> {
     return bd;
   }
 
-  private static BigDecimal enforcePrecisionScale(BigDecimal bd, int maxPrecision, int maxScale) {
+  public static BigDecimal enforcePrecisionScale(BigDecimal bd, int maxPrecision, int maxScale) {
     if (bd == null) {
       return null;
     }