You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Werner Daehn (Jira)" <ji...@apache.org> on 2020/11/01 13:19:00 UTC

[jira] [Commented] (AVRO-2328) Support distinguishing between LocalDateTime and Instant semantics in timestamps

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

Werner Daehn commented on AVRO-2328:
------------------------------------

`Sorry for being late in the game, but I believe this change is a mistake.

https://issues.apache.org/jira/browse/AVRO-2950

Main argument: In Hadoop LocalDateTime has a meaning, the timestamp where the Hadoop cluster is located. Avro is a data exchange format, it does not have a location! ZonedDateTime would have been better.

> Support distinguishing between LocalDateTime and Instant semantics in timestamps
> --------------------------------------------------------------------------------
>
>                 Key: AVRO-2328
>                 URL: https://issues.apache.org/jira/browse/AVRO-2328
>             Project: Apache Avro
>          Issue Type: Task
>            Reporter: Zoltan Ivanfi
>            Assignee: Nándor Kollár
>            Priority: Major
>             Fix For: 1.10.0
>
>
> Different SQL engines of the Hadoop stack support different timestamp semantics. The range of supported semantics is about to be extended even further. While some of the new timestamp types can be added to SQL without explicit support from the file formats, others require new physical types. File format support would be beneficial even for timestamp semantics where it is not strictly required, because it would enable correct interpretation without an SQL schema or any other kind of manual configuration.
> This JIRA is about supporting the LocalDateTime and Instant semantics. See [this document|https://docs.google.com/document/d/1E-7miCh4qK6Mg54b-Dh5VOyhGX8V4xdMXKIHJL36a9U/edit#] for details.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)