Skip to content

Remove object_store dependency - Extract object store related code  #10308

Open

Description

@brancz

We treat object_store as a public API surface of parquet and avro (even if the traits used didn't change eg. from 0.13 to 0.14, presumably because things like how to contruct them has changed).

We should extract all code that uses object_store from the crates in this repository since it prevents us from upgrading object_store, especially when none of those pieces of functionality are being used.

See also

@alamb

Activity

  1. alamb commented on Jul 9, 2026

    @alamb
    Contributor

    I agree - see this past discussion on something similar

    Maybe we can just provide an example of how to use object store (rather than a native integration) -- the core parquet logic is now entirely disconnected from object_store

    This would be a breaking change, but I do think it is probably a good time to break the explicit connection

  2. brancz commented on Jul 15, 2026

    @brancz
    ContributorAuthor

    So how do we go about this? Move all code that is currently behind the object_store feature for the avro and parquet crates into two separate repos? Move the code to datafusion (not sure how that solves it, only moves the "public api" to there)?

  3. brancz commented on Jul 15, 2026

    @brancz
    ContributorAuthor

    Oh wait if I'm seeing this right, async reader and writer are already pretty much redundant, so we can just get rid of a lot of that code and just show how to pass object store in via an example?

  4. alamb commented on Jul 15, 2026

    @alamb
    Contributor

    Oh wait if I'm seeing this right, async reader and writer are already pretty much redundant, so we can just get rid of a lot of that code and just show how to pass object store in via an example?

    Yeah that is what I was thinking -- I am not sure about avro, but the object store parquet implementation could be done as an example (make as a dev dependency)

  5. brancz commented on Jul 15, 2026

    @brancz
    ContributorAuthor

    I'll have a look tomorrow, I'd love to get rid of this for the next breaking release.

  6. brancz commented on Jul 16, 2026

    @brancz
    ContributorAuthor

    If #10354 looks good, I can do the same thing for avro (it's even a little bit less code as far as I can tell) either in the same PR or in a follow up PR.

  7. alamb commented on Jul 31, 2026

    @alamb
    Contributor

    An update here:
    In order to make sure we minimize pain for downstream crates, the plan is to deprecate the existing object store integration to give downstream crates a chance to migrate as well as weigh in on this ticket

    There is substantial discussion with @brancz myself @tustvold and @Xuanwo on this issue about the pros and cons

  8. changed the title [-]Extract object store related code[/-] [+]Remove `object_store` dependency - Extract object store related code [/+] on Jul 31, 2026
  9. alamb commented on Jul 31, 2026

    @alamb
    Contributor

    I also filed a ticket to consider providing these APIs as new crates

  10. mbutrovich commented on Aug 4, 2026

    @mbutrovich
    Contributor

    I'm still catching up on the discussion, but Iceberg Rust did something similar, I think. Basically they added a Storage trait to be able to relax their reliance on OpenDAL and (in theory) support object_store:

    apache/iceberg-rust#2051
    apache/iceberg-rust#2208
    apache/iceberg-rust#1314

    and related discussion about object_store over the years: apache/iceberg-rust#172

  11. 4 remaining items

  12. Jefffrey commented on Aug 22, 2026

    @Jefffrey
    Contributor

    might be 62.0.0

  13. brancz commented on Aug 24, 2026

    @brancz
    ContributorAuthor

    How do we find out? 😅

  14. Jefffrey commented on Aug 24, 2026

    @Jefffrey
    Contributor

    based on our policy here

    arrow-rs/README.md

    Lines 124 to 149 in e1e71ea

    ### Deprecation Guidelines
    Minor releases may deprecate, but not remove APIs. Deprecating APIs allows
    downstream Rust programs to still compile, but generate compiler warnings. This
    gives downstream crates time to migrate prior to API removal.
    To deprecate an API:
    - Mark the API as deprecated using `#[deprecated]` and specify the exact arrow-rs version in which it was deprecated
    - Concisely describe the preferred API to help the user transition
    The deprecated version is the next version which will be released (please
    consult the list above). To mark the API as deprecated, use the
    `#[deprecated(since = "...", note = "...")]` attribute.
    For example
    ```rust
    #[deprecated(since = "51.0.0", note = "Use `date_part` instead")]
    ```
    In general, deprecated APIs will remain in the codebase for at least two major releases after
    they were deprecated (typically between 6 - 9 months later). For example, an API
    deprecated in `51.3.0` can be removed in `54.0.0` (or later). Deprecated APIs
    may be removed earlier or later than these guidelines at the discretion of the
    maintainers.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions