Skip to content

v0.10.7: major bugfix for drop_columns, storage_options in Python

Compare
Choose a tag to compare
@wjones127 wjones127 released this 02 Apr 21:54
· 564 commits to main since this release

Bug fixes

❗ There was an bug with drop_columns(). If you've called this on your dataset, you should check if your dataset was affected by running dataset.validate(). If this raises an error, you can call dataset.delete("false") to force a repair operation on your dataset. Afterward it will work as expected.

New Features

🚀 You can now configure object storage connection in the kwargs of lance.dataset() and lance.write_dataset() with storage_options. For example:

import lance
ds = lance.dataset(
    "s3://bucket/path",
    storage_options={
        "region": "us-east-1",
        "access_key_id": "my-access-key",
        "secret_access_key": "my-secret-key",
        "session_token": "my-session-token",
    }
)

Read more in https://lancedb.github.io/lance/read_and_write.html#object-store-configuration

Other Changes

Full Changelog: v0.10.6...v0.10.7