Skip to content

Extension type not preserved on reading from the serialized schema #38891

@candiduslynx

Description

@candiduslynx

Describe the bug, including details regarding any error messages, version, and platform.

I have an extension type json that is defined as an extension over binary.
When I serialize the schema I see that the field is correctly serialized as Extension(json, BINARY).

When reading the serialized schema back the filed type for json column becomes BINARY.

I suppose it's because https://github.com/apache/arrow/blame/main/java/format/src/main/java/org/apache/arrow/flatbuf/Type.java doesn't support reading extension types properly.

Component(s)

Java

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions