Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-25833

Wrong dates when reading ORC files written by previous Hive versions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.1.2
    • None
    • ORC

    Description

      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

      Attachments

        Activity

          People

            Unassigned Unassigned
            nemon Nemon Lou
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: