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

Matt McCline commented on HIVE-14863:
-------------------------------------

Yes, the vectorized cast logic currently does not check for 
truncation/corruption.  I don't think there was a JIRA -- so Sergey's new 
HIVE-14893 may cover this.

What are all the schema_evol_text_nonvec_part_all_primitive.q.out changes?



> Decimal to int conversion produces incorrect values
> ---------------------------------------------------
>
>                 Key: HIVE-14863
>                 URL: https://issues.apache.org/jira/browse/HIVE-14863
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Sergey Shelukhin
>            Assignee: Sergey Shelukhin
>            Priority: Critical
>         Attachments: HIVE-14863.01.patch, HIVE-14863.patch
>
>
> {noformat}
> > select cast(cast ('111111111111111' as decimal(38,0)) as int);
> OK
> 307163591
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to