You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by jc...@apache.org on 2018/04/20 09:50:35 UTC

hive git commit: HIVE-19226: Extend storage-api to print timestamp values in UTC (Jesus Camacho Rodriguez, reviewed by Ashutosh Chauhan) (addendum)

Repository: hive
Updated Branches:
  refs/heads/master cefefa24d -> 9cfaf6b00


HIVE-19226: Extend storage-api to print timestamp values in UTC (Jesus Camacho Rodriguez, reviewed by Ashutosh Chauhan) (addendum)


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

Branch: refs/heads/master
Commit: 9cfaf6b0020351cd092bac37ed986470a0a97b02
Parents: cefefa2
Author: Jesus Camacho Rodriguez <jc...@apache.org>
Authored: Fri Apr 20 11:50:11 2018 +0200
Committer: Jesus Camacho Rodriguez <jc...@apache.org>
Committed: Fri Apr 20 11:50:11 2018 +0200

----------------------------------------------------------------------
 .../hadoop/hive/ql/exec/vector/TimestampColumnVector.java    | 8 ++++++++
 1 file changed, 8 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/9cfaf6b0/storage-api/src/java/org/apache/hadoop/hive/ql/exec/vector/TimestampColumnVector.java
----------------------------------------------------------------------
diff --git a/storage-api/src/java/org/apache/hadoop/hive/ql/exec/vector/TimestampColumnVector.java b/storage-api/src/java/org/apache/hadoop/hive/ql/exec/vector/TimestampColumnVector.java
index 1744ecb..3b5f3ba 100644
--- a/storage-api/src/java/org/apache/hadoop/hive/ql/exec/vector/TimestampColumnVector.java
+++ b/storage-api/src/java/org/apache/hadoop/hive/ql/exec/vector/TimestampColumnVector.java
@@ -485,6 +485,14 @@ public class TimestampColumnVector extends ColumnVector {
   }
 
   /**
+   * Return the value for the utc boolean variable.
+   * @return
+   */
+  public boolean isUTC() {
+    return this.isUTC;
+  }
+
+  /**
    * Set the utc boolean variable
    * @param value
    */