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

Matt McCline commented on HIVE-19629:
-------------------------------------

The new line 403 in RecordReaderImpl does not look right.  To convert from 
DECIMAL_64 long to HiveDecimalWritable you should use the 
HiveDecimalWritable.deserialize64 method that pass the long and the scale...
{noformat}
result.setFromLong(((Decimal64ColumnVector) vector).vector[row]);{noformat}

> Enable Decimal64 reader after orc version upgrade
> -------------------------------------------------
>
>                 Key: HIVE-19629
>                 URL: https://issues.apache.org/jira/browse/HIVE-19629
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 3.1.0
>            Reporter: Prasanth Jayachandran
>            Assignee: Prasanth Jayachandran
>            Priority: Major
>         Attachments: HIVE-19629.1.patch, HIVE-19629.2.patch
>
>
> ORC 1.5.0 supports new fast decimal 64 reader. New VRB has to be created for 
> making use of decimal 64 column vectors. Also LLAP IO will need a new reader 
> to reader from long stream to decimal 64. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to