You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Aihua Xu (JIRA)" <ji...@apache.org> on 2016/03/09 23:34:40 UTC

[jira] [Commented] (HIVE-13251) hive can't read the decimal in AVRO file generated from previous version

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

Aihua Xu commented on HIVE-13251:
---------------------------------

[~jarcec] FYI. Seems we need to handle such backward compatibility although the file format/schema is incorrect to avro since some customers generated such files and see such issues after upgrading. 

> hive can't read the decimal in AVRO file generated from previous version
> ------------------------------------------------------------------------
>
>                 Key: HIVE-13251
>                 URL: https://issues.apache.org/jira/browse/HIVE-13251
>             Project: Hive
>          Issue Type: Bug
>          Components: Hive
>    Affects Versions: 2.1.0
>            Reporter: Aihua Xu
>            Assignee: Aihua Xu
>
> HIVE-7174 makes the avro schema change to match avro definition, while it breaks the compatibility if the file is generated from the previous Hive. We should allow to read old file format "precision" : "4", "scale": "8", but write in the new format.



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