Nemon Lou created HIVE-25833:
--------------------------------

             Summary: Inconsistent date type behavior between hive2 and hive3 
for ORC files 
                 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


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)

Reply via email to