Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: improve storage location handling #1065

Merged
merged 11 commits into from
Jan 15, 2023
Merged

Conversation

roeap
Copy link
Collaborator

@roeap roeap commented Jan 14, 2023

Description

This PR contains some improvements and refactoring for handling storage locations.

  • Removes the StorageLocation struct (a left-over from previous clean up)
  • allows for creating tables using local file paths (including relative)
  • persists options during serialization (this will not work for custom storage backends, but still extends what the previous approach could do)
  • adopts PrefixObjectStore from upstream crate in favour of maintaining that logic here.
  • run cargo clippy --fix on /rust

Related Issue(s)

Closes #998

Documentation

@roeap roeap merged commit 8e0b8cb into delta-io:main Jan 15, 2023
@roeap roeap deleted the remove-location branch January 15, 2023 07:44
chitralverma pushed a commit to chitralverma/delta-rs that referenced this pull request Mar 17, 2023
# Description

This PR contains some improvements and refactoring for handling storage
locations.

- Removes the `StorageLocation` struct (a left-over from previous clean
up)
- allows for creating tables using local file paths (including relative)
- persists options during serialization (this will not work for custom
storage backends, but still extends what the previous approach could do)
- adopts `PrefixObjectStore` from upstream crate in favour of
maintaining that logic here.
- run `cargo clippy --fix` on `/rust`

# Related Issue(s)

Closes delta-io#998

# Documentation

<!---
Share links to useful documentation
--->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support local file path in CreateBuilder::with_location()
2 participants