You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@drill.apache.org by ja...@apache.org on 2014/06/26 22:45:03 UTC

[03/16] git commit: DRILL-1013: Changed type of monthsToMillis to long.

DRILL-1013: Changed type of monthsToMillis to long.


Project: http://git-wip-us.apache.org/repos/asf/incubator-drill/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-drill/commit/26edabba
Tree: http://git-wip-us.apache.org/repos/asf/incubator-drill/tree/26edabba
Diff: http://git-wip-us.apache.org/repos/asf/incubator-drill/diff/26edabba

Branch: refs/heads/master
Commit: 26edabbae8e2ab9a107dce9ff3405241890c4401
Parents: 718f4a2
Author: Sudheesh Katkam <sk...@maprtech.com>
Authored: Wed Jun 18 13:29:46 2014 -0700
Committer: Jacques Nadeau <ja...@apache.org>
Committed: Wed Jun 25 16:18:11 2014 -0700

----------------------------------------------------------------------
 .../main/java/org/apache/drill/exec/expr/fn/impl/DateUtility.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/26edabba/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/impl/DateUtility.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/impl/DateUtility.java b/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/impl/DateUtility.java
index d668df2..5a3a214 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/impl/DateUtility.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/impl/DateUtility.java
@@ -632,7 +632,7 @@ public class DateUtility {
     public static final int minutesToMillis = 60 * 1000;
     public static final int secondsToMillis = 1000;
     public static final int monthToStandardDays = 30;
-    public static final int monthsToMillis = 30 * 24 * 60 * 60 * 1000;
+    public static final long monthsToMillis = 2592000000L; // 30 * 24 * 60 * 60 * 1000
     public static final int daysToStandardMillis = 24 * 60 * 60 * 1000;