hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jd...@apache.org
Subject hive git commit: HIVE-10275: GenericUDF getTimestampValue should return Timestamp instead of Date (Alex Pivovarov via Jason Dere)
Date Thu, 23 Apr 2015 18:18:01 GMT
Repository: hive
Updated Branches:
  refs/heads/master 44c16a2a8 -> fd65c4e35


HIVE-10275: GenericUDF getTimestampValue should return Timestamp instead of Date (Alex Pivovarov
via Jason Dere)


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

Branch: refs/heads/master
Commit: fd65c4e351a9252db66383c3325b2acf0216b30e
Parents: 44c16a2
Author: Jason Dere <jdere@hortonworks.com>
Authored: Thu Apr 23 11:17:30 2015 -0700
Committer: Jason Dere <jdere@hortonworks.com>
Committed: Thu Apr 23 11:17:30 2015 -0700

----------------------------------------------------------------------
 ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDF.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/fd65c4e3/ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDF.java
----------------------------------------------------------------------
diff --git a/ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDF.java b/ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDF.java
index 58c2f44..b043bdc 100644
--- a/ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDF.java
+++ b/ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDF.java
@@ -497,7 +497,7 @@ public abstract class GenericUDF implements Closeable {
     return date;
   }
 
-  protected Date getTimestampValue(DeferredObject[] arguments, int i, Converter[] converters)
+  protected Timestamp getTimestampValue(DeferredObject[] arguments, int i, Converter[] converters)
       throws HiveException {
     Object obj;
     if ((obj = arguments[i].get()) == null) {


Mime
View raw message