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: add Extensions to object store PutOptions #7213

Merged
merged 1 commit into from
Feb 27, 2025

Conversation

crepererum
Copy link
Contributor

Which issue does this PR close?

-

Rationale for this change

Follow-up to #7170.

See #7170 (comment) .

What changes are included in this PR?

PutOptions::extensions.

Are there any user-facing changes?

Breaking: New field.

@crepererum crepererum added api-change Changes to the arrow API object-store Object Store Interface labels Feb 27, 2025
@@ -384,12 +389,21 @@ impl GoogleCloudStorageClient {
payload: PutPayload,
opts: PutOptions,
) -> Result<PutResult> {
let PutOptions {
mode,
// not supported by GCP
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@tustvold can you check if this is correct or an oversight?

Copy link
Contributor

@tustvold tustvold Feb 27, 2025

Choose a reason for hiding this comment

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

IIRC GCP doesn't have a notion of tags as separate from general metadata

See #4999

Copy link
Contributor

@tustvold tustvold left a comment

Choose a reason for hiding this comment

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

FWIW there is also PutMultipartOpts

@crepererum
Copy link
Contributor Author

FWIW there is also PutMultipartOpts

Ah, that struct doesn't end in Options 🤷

Will file an extra PR for that.

@crepererum crepererum merged commit 9384224 into apache:main Feb 27, 2025
14 checks passed
@crepererum
Copy link
Contributor Author

Will file an extra PR for that.

Done in #7214.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api-change Changes to the arrow API object-store Object Store Interface
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants