You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Stamatis Zampetakis (Jira)" <ji...@apache.org> on 2021/12/24 11:28:00 UTC

[jira] [Updated] (HIVE-25833) Wrong dates when reading ORC files written by previous Hive versions

     [ https://issues.apache.org/jira/browse/HIVE-25833?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stamatis Zampetakis updated HIVE-25833:
---------------------------------------
    Summary: Wrong dates when reading ORC files written by previous Hive versions  (was: Inconsistent date type behavior between hive2 and hive3 for ORC files )

> Wrong dates when reading ORC files written by previous Hive versions
> --------------------------------------------------------------------
>
>                 Key: HIVE-25833
>                 URL: https://issues.apache.org/jira/browse/HIVE-25833
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 3.1.2
>            Reporter: Nemon Lou
>            Priority: Major
>
> In hive2 :
> create table hive2_orc(id date);
> insert into hive2_orc values('0001-01-01');
> select * from hive2_orc;
> --will get '0001-01-01'
> in hive3:
> query the same orc file,
> --will get '0001-12-30'
>  
> The same thing happens between hive3 and master branch.
> In hive3 writes '0001-01-01' and will get '0001-01-03' for master branch



--
This message was sent by Atlassian Jira
(v8.20.1#820001)