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/07/11 16:08:01 UTC
hive git commit: HIVE-20135: Fix incompatible change in
TimestampColumnVector to default to UTC (Jesus Camacho Rodriguez,
reviewed by Owen O'Malley)
Repository: hive
Updated Branches:
refs/heads/branch-3 6c55afb04 -> 2df5165fe
HIVE-20135: Fix incompatible change in TimestampColumnVector to default to UTC (Jesus Camacho Rodriguez, reviewed by Owen O'Malley)
Project: http://git-wip-us.apache.org/repos/asf/hive/repo
Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/2df5165f
Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/2df5165f
Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/2df5165f
Branch: refs/heads/branch-3
Commit: 2df5165fe932fc96c135dd7c4c3dc56627efa53b
Parents: 6c55afb
Author: Jesus Camacho Rodriguez <jc...@apache.org>
Authored: Wed Jul 11 07:58:53 2018 -0700
Committer: Jesus Camacho Rodriguez <jc...@apache.org>
Committed: Wed Jul 11 09:07:47 2018 -0700
----------------------------------------------------------------------
.../apache/hadoop/hive/ql/exec/vector/TimestampColumnVector.java | 2 +-
.../apache/hadoop/hive/ql/exec/vector/TestStructColumnVector.java | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hive/blob/2df5165f/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 f11a319..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
@@ -81,7 +81,7 @@ public class TimestampColumnVector extends ColumnVector {
scratchWritable = null; // Allocated by caller.
- isUTC = true;
+ isUTC = false;
}
/**
http://git-wip-us.apache.org/repos/asf/hive/blob/2df5165f/storage-api/src/test/org/apache/hadoop/hive/ql/exec/vector/TestStructColumnVector.java
----------------------------------------------------------------------
diff --git a/storage-api/src/test/org/apache/hadoop/hive/ql/exec/vector/TestStructColumnVector.java b/storage-api/src/test/org/apache/hadoop/hive/ql/exec/vector/TestStructColumnVector.java
index fbd0c06..d1a546f 100644
--- a/storage-api/src/test/org/apache/hadoop/hive/ql/exec/vector/TestStructColumnVector.java
+++ b/storage-api/src/test/org/apache/hadoop/hive/ql/exec/vector/TestStructColumnVector.java
@@ -105,6 +105,7 @@ public class TestStructColumnVector {
VectorizedRowBatch batch = new VectorizedRowBatch(2);
LongColumnVector x1 = new LongColumnVector();
TimestampColumnVector x2 = new TimestampColumnVector();
+ x2.setIsUTC(true);
StructColumnVector x = new StructColumnVector(1024, x1, x2);
BytesColumnVector y = new BytesColumnVector();
batch.cols[0] = x;