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

Rok Mihevc commented on ARROW-887:
----------------------------------

This issue has been migrated to [issue 
#16491|https://github.com/apache/arrow/issues/16491] on GitHub. Please see the 
[migration documentation|https://github.com/apache/arrow/issues/14542] for 
further details.

> [format] For backward compatibility, new unit fields must have default values 
> matching previous implied unit
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: ARROW-887
>                 URL: https://issues.apache.org/jira/browse/ARROW-887
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: Format
>            Reporter: Julien Le Dem
>            Assignee: Julien Le Dem
>            Priority: Major
>             Fix For: 0.3.0
>
>
> Flatbuffer "defaults the default value" to 0. Which means we interpret 
> previously serialized Flatbuf has having the first element of the enum. In 
> particular Date and Time unit fields end up being read as DateUnit.DAY and 
> TimeUnit.SECOND when the previous implied unit was MILLISECOND for both.



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

Reply via email to