lance-format/lance

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

Open

#1.376 geöffnet am 10. Okt. 2023

Auf GitHub ansehen
 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)Rust (695 Forks)github user discovery
enhancementgood first issuehelp wantedrust

Repository-Metriken

Stars
 (6.582 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 6T 1h) (219 gemergte PRs in 30 T)

Beschreibung

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

Contributor Guide