You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Ashutosh Chauhan (Jira)" <ji...@apache.org> on 2019/12/14 03:05:00 UTC

[jira] [Commented] (HIVE-22540) Vectorization: Decimal64 columns don't work with VectorizedBatchUtil.makeLikeColumnVector(ColumnVector)

    [ https://issues.apache.org/jira/browse/HIVE-22540?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16996102#comment-16996102 ] 

Ashutosh Chauhan commented on HIVE-22540:
-----------------------------------------

+1

> Vectorization: Decimal64 columns don't work with VectorizedBatchUtil.makeLikeColumnVector(ColumnVector)
> -------------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-22540
>                 URL: https://issues.apache.org/jira/browse/HIVE-22540
>             Project: Hive
>          Issue Type: Bug
>          Components: Vectorization
>            Reporter: Gopal Vijayaraghavan
>            Assignee: Gopal Vijayaraghavan
>            Priority: Minor
>         Attachments: HIVE-22540.1.patch
>
>
> {code}
>     if (source instanceof Decimal64ColumnVector) {
>       Decimal64ColumnVector dec64ColVector = (Decimal64ColumnVector) source;
>       return new DecimalColumnVector(dec64ColVector.vector.length,
>           dec64ColVector.precision,
>           dec64ColVector.scale);
>     }
> {code}
> This means that the operators need to change between the original and copy of the vector shapes.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)