Skip to content

Serde feature is broken #15122

Closed
Closed
@vadimpiven

Description

@vadimpiven

Describe the bug

Arrow-schema of the latest version requires the feature serde to be explicitly set https://github.com/apache/arrow-rs/blob/54.2.0/arrow-schema/Cargo.toml#L49
This PR #14597 have removed the line

serde = ["arrow-schema/serde"]
which previously enabled this feature. So now "serde" feature is not enabled (checked Cargo.lock), and I am getting compilation errors saying serde::Serialize is not implemented for Schema from arrow-schema.

To Reproduce

No response

Expected behavior

Serde feature works in datafusion 46, as it worked in version 45.

Additional context

As a hotfix I added to my project

[dependencies]
arrow-schema = { version = "*", features = ["serde"] }

and everything compiled again.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingregressionSomething that used to work no longer does

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions