lance-format/lance

added a `localstore` scheme in `object_store.rs` for testing

Open

#1,376 opened on 2023年10月10日

GitHub で見る
 (1 comment) (0 reactions) (0 assignees)Rust (695 forks)github user discovery
enhancementgood first issuehelp wantedrust

Repository metrics

Stars
 (6,582 stars)
PR merge metrics
 (平均マージ 6d 1h) (30d で 219 merged PRs)

説明

we have a short cut in https://github.com/lancedb/lance/blob/main/rust/lance/src/io/object_store.rs#L607-L615, where we use the FS directly when we detect the file being read is a local file.

However, this makes testing object store behavior hard because we have to setup a object store fixture like localstack in order to test the CloudObjectReader path.

We can add a localstore scheme, where we can exercise object store code path with a local directory

コントリビューターガイド