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

Add storage support for ProlepticCalendar in ORC, Parquet, and Avro

    XMLWordPrintableJSON

Details

    Description

      Hive recently moved its processing to the proleptic calendar, which has created some issues for users who have dates before 1580 AD.

      Hive最近将其处理移到了proleptic日历上,这给日期在公元1580年之前的用户带来了一些问题。

      HIVE-22405 extended the column vectors for times & dates to encode which calendar they are using.

      HIVE-22405扩展了时间和日期的列向量&,以编码它们所使用的日历。

      This issue is to support proleptic calendar in ORC, Parquet, and Avro, when files are written/read by Hive. To preserve compatibility with other engines until they upgrade their readers, files will be written using hybrid calendar by default. Default behavior when files do not contain calendar information in their metadata is configurable.

      当文件由Hive写入/读取时,此问题用于支持ORC、Parquet和Avro中的proleptic日历。为了在升级阅读器之前保持与其他引擎的兼容性,默认情况下将使用混合日历写入文件。当文件的元数据中不包含日历信息时,默认行为是可配置的。

      Attachments

        1. HIVE-22589.patch
          133 kB
          jcamachorodriguez
        2. HIVE-22589.patch
          133 kB
          David Lavati
        3. HIVE-22589.01.patch
          133 kB
          David Lavati
        4. HIVE-22589.02.patch
          163 kB
          jcamachorodriguez
        5. HIVE-22589.03.patch
          223 kB
          jcamachorodriguez
        6. HIVE-22589.04.patch
          224 kB
          jcamachorodriguez
        7. HIVE-22589.05.patch
          223 kB
          jcamachorodriguez
        8. HIVE-22589.06.patch
          225 kB
          jcamachorodriguez
        9. HIVE-22589.07.patch
          510 kB
          jcamachorodriguez
        10. HIVE-22589.07.patch
          510 kB
          jcamachorodriguez
        11. HIVE-22589.07.patch
          510 kB
          jcamachorodriguez
        12. HIVE-22589.07.patch
          510 kB
          jcamachorodriguez
        13. HIVE-22589.08.patch
          510 kB
          jcamachorodriguez
        14. HIVE-22589.08.patch
          510 kB
          jcamachorodriguez

        Issue Links

          Activity

            People

              jcamacho Jesús Camacho Rodríguez
              jcamacho Jesús Camacho Rodríguez
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: