Skip to content

[JAVA] Introduction of new types has shifted Enumerations #16488

Closed

Description

@asfimport

The introduction of new types in

https://github.com/apache/arrow/blame/master/java/vector/src/main/java/org/apache/arrow/vector/types/Types.java

Has shifted the enumeration ordinals, causing compatibility problems with older java code that serializes the ordinals. Should be fixed before 0.3 release

Reporter: Jacques Nadeau / @jacques-n
Assignee: Julien Le Dem / @julienledem

Related issues:

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

Activity

  1. asfimport commented on Apr 24, 2017

    @asfimport
    Author

    Julien Le Dem / @julienledem:
    @jacques-n To clarify, You are referring to the ordinals of the Types.MinorType enum?

  2. asfimport commented on Apr 24, 2017

    @asfimport
    Author

    Jacques Nadeau / @jacques-n:
    It sounds like my initial thought on where the problem was is wrong. It seems like the introduction of new date/time types has caused old schemas to break. Basically, the default units should be the same as the non-unit behavior. In the case of Date that was MILLISECONDS. However, the default is now DAY (0). Seems like the flatbuf should be reordered so that 0 corresponds to MILLISECONDS.

  3. asfimport commented on Apr 24, 2017

    @asfimport
    Author

    Julien Le Dem / @julienledem:
    That was resolved by ARROW-887

  4. asfimport commented on Aug 27, 2022

    @asfimport
    Author

    Todd Farmer / @toddfarmer:
    Transitioning issue from Resolved to Closed to based on resolution field value.

  5. added this to the 0.3.0 milestone on Jan 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions