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: use url parsing from object store #1592

Merged
merged 10 commits into from
Sep 25, 2023
Merged

Conversation

roeap
Copy link
Collaborator

@roeap roeap commented Aug 16, 2023

Description

This PR moves the url parsing and options to the object store implementation where applicable. This also provides a fix for a subtle bug we had in our configuration handling. Specifically in certain scenarios we may choose an unexpected credential. If the user passed in configuration for a credential, but there is another credential defined in the environment, the choice of credential depends on the order credentials are checked within object store.

While not completely robust, we now try to create a credential without info added from the environment, and if that fails, augment the options with specs from the environment.

closes #1356

@github-actions github-actions bot added binding/rust Issues for the Rust crate rust labels Aug 16, 2023
@roeap roeap force-pushed the storage-config branch 5 times, most recently from f5ea94f to 7c3d8c1 Compare August 16, 2023 21:04
@github-actions github-actions bot added the binding/python Issues for the Python package label Aug 16, 2023
@github-actions github-actions bot removed the binding/python Issues for the Python package label Aug 31, 2023
("hdfs", Some(_)) => (Self::Hdfs, url.path()),
("https", Some(host)) => {
if host.ends_with("dfs.core.windows.net") || host.ends_with("blob.core.windows.net")
{
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this does not seem to have the latest object store changes for fabric support

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will definately add that !

@rtyler rtyler enabled auto-merge (rebase) September 19, 2023 04:37
@roeap roeap added this to the Rust v0.16 milestone Sep 22, 2023
@github-actions github-actions bot added the binding/python Issues for the Python package label Sep 22, 2023
@roeap roeap force-pushed the storage-config branch 4 times, most recently from 58a25ee to d45cc68 Compare September 22, 2023 23:14
@roeap roeap force-pushed the storage-config branch 2 times, most recently from 53caeaa to d5a9e14 Compare September 23, 2023 07:12
@rtyler rtyler merged commit 05e6444 into delta-io:main Sep 25, 2023
21 checks passed
@roeap roeap deleted the storage-config branch September 25, 2023 17:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
binding/python Issues for the Python package binding/rust Issues for the Rust crate rust
Projects
None yet
Development

Successfully merging this pull request may close these issues.

add support for atomic rename in R2
3 participants