Skip to content

Change serde dependency to serde_core where applicable #17786

Description

@crepererum

Is your feature request related to a problem or challenge?

Currently some datafusion crates depend on serde, which may take a long time to compile if -- due to feature unification -- datafusion users opted into the derive features. See serde-rs/serde#2608 . However we often don't need derive and hence we could depend on the actual core part of serde called serde_derive.

Describe the solution you'd like

Check our dependencies and where we don't use derive, change the dependency from serde to serde_derive.

Describe alternatives you've considered

-

Additional context

Activity

  1. alamb commented on Sep 26, 2025

    @alamb
    Contributor
  2. AdamGS commented on Sep 30, 2025

    @AdamGS
    Contributor

    take

  3. AdamGS commented on Sep 30, 2025

    @AdamGS
    Contributor

    The underlying issue in arrow-rs should be resolved first, I don't think we'll get much benefit if arrow-schema keeps pulling it in, see this comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions