kosiew opened a new pull request, #17070:
URL: https://github.com/apache/datafusion/pull/17070

   
   
   ## Which issue does this PR close?
   
   Closes #17066.
   
   ---
   
   ## Rationale for this change
   
   This change enables downstream consumers of DataFusion to access the 
`object_store` crate through the `datafusion` crate itself, avoiding the need 
to directly manage the `object_store` dependency in their own `Cargo.toml` 
files. This improves dependency ergonomics, simplifies version compatibility, 
and supports a smoother developer experience.
   
   This is particularly useful in testing contexts or extensions where access 
to object store types (e.g., `Path`, `ObjectMeta`, etc.) is required.
   
   ---
   
   ## What changes are included in this PR?
   
   * Added an `object_store` feature flag to `datafusion/common`.
   * Re-exported the `object_store` crate in both `datafusion/common` and 
`datafusion/core` modules.
   * Updated a test module (`datafusion/core/src/test/object_store.rs`) to use 
the new re-exports from the crate root instead of importing `object_store` 
directly.
   
   ---
   
   ## Are these changes tested?
   
   ✅ Yes.
   
   The existing test module (`core/src/test/object_store.rs`) implicitly tests 
the usage of the `object_store` types and APIs, and has been updated to use the 
new crate re-exports.
   
   ---
   
   ## Are there any user-facing changes?
   
   ✅ Yes.
   
   * Consumers can now access the `object_store` APIs via:
   
     ```rust
     use datafusion::object_store::path::Path;
     ```
   
     instead of having to add and manage their own `object_store` dependency.
   
   This is a non-breaking, ergonomic improvement.
   
   ---
   
   <!--
   If there are any breaking changes to public APIs, please add the `api 
change` label.
   -->
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to