Skip to content

feat: add ability to pass custom headers to objectstore requests#5989

Merged
Xuanwo merged 7 commits intolance-format:mainfrom
hamersaw:feature/custom-objectstore-headers
Feb 26, 2026
Merged

feat: add ability to pass custom headers to objectstore requests#5989
Xuanwo merged 7 commits intolance-format:mainfrom
hamersaw:feature/custom-objectstore-headers

Conversation

@hamersaw
Copy link
Copy Markdown
Contributor

@hamersaw hamersaw commented Feb 23, 2026

This PR lets you pass custom headers through to the object_store HTTP requests. These are provided using the regular storageOptions. For example:

storage.account_name=foo
storage.headers.x-priority=high
storage.headers.x-foo=bar

Would set the header "x-priority" to "high" and "x-foo" to "bar".

Closes #5643.

Signed-off-by: Daniel Rammer <hamersaw@protonmail.com>
@github-actions github-actions Bot added the enhancement New feature or request label Feb 23, 2026
Signed-off-by: Daniel Rammer <hamersaw@protonmail.com>
Signed-off-by: Daniel Rammer <hamersaw@protonmail.com>
Signed-off-by: Daniel Rammer <hamersaw@protonmail.com>
Signed-off-by: Daniel Rammer <hamersaw@protonmail.com>
@codecov
Copy link
Copy Markdown

codecov Bot commented Feb 23, 2026

Codecov Report

❌ Patch coverage is 95.65217% with 3 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
rust/lance-io/src/object_store/providers/aws.rs 50.00% 0 Missing and 1 partial ⚠️
rust/lance-io/src/object_store/providers/azure.rs 50.00% 0 Missing and 1 partial ⚠️
rust/lance-io/src/object_store/providers/gcp.rs 50.00% 0 Missing and 1 partial ⚠️

📢 Thoughts on this report? Let us know!

@hamersaw hamersaw marked this pull request as ready for review February 23, 2026 21:39
…cedent

Signed-off-by: Daniel Rammer <hamersaw@protonmail.com>
@eddyxu eddyxu requested review from jackye1995, westonpace and wjones127 and removed request for wjones127 February 26, 2026 03:34
@Xuanwo Xuanwo merged commit bcbdb7e into lance-format:main Feb 26, 2026
30 checks passed
@hamersaw hamersaw deleted the feature/custom-objectstore-headers branch February 26, 2026 03:43
jackye1995 pushed a commit to wjones127/lance that referenced this pull request Feb 26, 2026
…ce-format#5989)

This PR lets you pass custom headers through to the `object_store` HTTP
requests. These are provided using the regular `storageOptions`. For
example:
```
storage.account_name=foo
storage.headers.x-priority=high
storage.headers.x-foo=bar
```
Would set the header "x-priority" to "high" and "x-foo" to "bar".

Closes lance-format#5643.

---------

Signed-off-by: Daniel Rammer <hamersaw@protonmail.com>
wjones127 pushed a commit that referenced this pull request Feb 26, 2026
This PR lets you pass custom headers through to the `object_store` HTTP
requests. These are provided using the regular `storageOptions`. For
example:
```
storage.account_name=foo
storage.headers.x-priority=high
storage.headers.x-foo=bar
```
Would set the header "x-priority" to "high" and "x-foo" to "bar".

Closes #5643.

---------

Signed-off-by: Daniel Rammer <hamersaw@protonmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request python

Projects

None yet

Development

Successfully merging this pull request may close these issues.

support setting custom headers in azure storage options

2 participants