Skip to content

[format] For backward compatibility, new unit fields must have default values matching previous implied unit #16491

@asfimport

Description

@asfimport

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.

Reporter: Julien Le Dem / @julienledem
Assignee: Julien Le Dem / @julienledem

Related issues:

PRs and other links:

Note: This issue was originally created as ARROW-887. Please see the migration documentation for further details.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions