You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by ha...@apache.org on 2019/12/14 03:05:24 UTC
[hive] branch master updated: HIVE-22540 : Vectorization: Decimal64
columns don't work with
VectorizedBatchUtil.makeLikeColumnVector(ColumnVector) (Gopal V via
Ashutosh Chauhan)
This is an automated email from the ASF dual-hosted git repository.
hashutosh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hive.git
The following commit(s) were added to refs/heads/master by this push:
new 46a6aaf HIVE-22540 : Vectorization: Decimal64 columns don't work with VectorizedBatchUtil.makeLikeColumnVector(ColumnVector) (Gopal V via Ashutosh Chauhan)
46a6aaf is described below
commit 46a6aaf10930422fef87209ca1c7135d63437b52
Author: Gopal V <go...@apache.org>
AuthorDate: Fri Dec 13 19:04:49 2019 -0800
HIVE-22540 : Vectorization: Decimal64 columns don't work with VectorizedBatchUtil.makeLikeColumnVector(ColumnVector) (Gopal V via Ashutosh Chauhan)
Signed-off-by: Ashutosh Chauhan <ha...@apache.org>
---
.../java/org/apache/hadoop/hive/ql/exec/vector/VectorizedBatchUtil.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ql/src/java/org/apache/hadoop/hive/ql/exec/vector/VectorizedBatchUtil.java b/ql/src/java/org/apache/hadoop/hive/ql/exec/vector/VectorizedBatchUtil.java
index ec24c10..ebd89e6 100644
--- a/ql/src/java/org/apache/hadoop/hive/ql/exec/vector/VectorizedBatchUtil.java
+++ b/ql/src/java/org/apache/hadoop/hive/ql/exec/vector/VectorizedBatchUtil.java
@@ -578,7 +578,7 @@ public class VectorizedBatchUtil {
) throws HiveException{
if (source instanceof Decimal64ColumnVector) {
Decimal64ColumnVector dec64ColVector = (Decimal64ColumnVector) source;
- return new DecimalColumnVector(dec64ColVector.vector.length,
+ return new Decimal64ColumnVector(dec64ColVector.vector.length,
dec64ColVector.precision,
dec64ColVector.scale);
} else if (source instanceof LongColumnVector) {