You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "László Bodor (Jira)" <ji...@apache.org> on 2022/12/11 07:26:00 UTC

[jira] [Commented] (HIVE-22589) Add storage support for ProlepticCalendar in ORC, Parquet, and Avro

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

László Bodor commented on HIVE-22589:
-------------------------------------

[~Mengkai Liu]: you changed the description and added non-english text, can you please fix it?

> Add storage support for ProlepticCalendar in ORC, Parquet, and Avro
> -------------------------------------------------------------------
>
>                 Key: HIVE-22589
>                 URL: https://issues.apache.org/jira/browse/HIVE-22589
>             Project: Hive
>          Issue Type: Bug
>          Components: Avro, ORC, Parquet
>            Reporter: Jesus Camacho Rodriguez
>            Assignee: Jesus Camacho Rodriguez
>            Priority: Major
>              Labels: compatibility, datetime
>             Fix For: 4.0.0-alpha-1
>
>         Attachments: HIVE-22589.01.patch, HIVE-22589.02.patch, HIVE-22589.03.patch, HIVE-22589.04.patch, HIVE-22589.05.patch, HIVE-22589.06.patch, HIVE-22589.07.patch, HIVE-22589.07.patch, HIVE-22589.07.patch, HIVE-22589.07.patch, HIVE-22589.08.patch, HIVE-22589.08.patch, HIVE-22589.patch, HIVE-22589.patch
>
>
> 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日历。为了在升级阅读器之前保持与其他引擎的兼容性,默认情况下将使用混合日历写入文件。当文件的元数据中不包含日历信息时,默认行为是可配置的。



--
This message was sent by Atlassian Jira
(v8.20.10#820010)