lance
lance copied to clipboard
feat: add storage_options to _BaseLanceDatasink, LanceDatasink, LanceCommitter
Adds the ability to pass storage_options to _BaseLanceDatasink to allow specifying them for LanceDatasink and LanceCommitter (LanceFragmentWriter already supports passing these).
We need to customize them because some of our datasets are hosted on R2
ACTION NEEDED Lance follows the Conventional Commits specification for release automation.
The PR title and description are used as the merge commit message. Please update your PR title and description to match the specification.
For details on the error please inspect the "PR Title Check" action.
Fixes https://github.com/lancedb/lance/issues/2615 as well
Note: the CI failure is unrelated and will be fixed once this is #2620 merged. You should probably rebase on that is merged if you add the integration tests.
Added some untested tests, not sure how to run integration tests locally to see if they work
Added some untested tests, not sure how to run integration tests locally to see if they work
Thanks. That's described in our development guide here:
https://github.com/lancedb/lance/blob/main/python/DEVELOPMENT.md#running-s3-integration-tests