Skip to content

Feature: Allow custom object store to be passed during connect #3072

Open

Description

@soumyakoduri

SDK

Rust

Description

Currently, there is a provision to pass custom object store ( store_params) via WriteParams or ReadParams while doing I/O operations as below -

`

// Create ObjectStoreParams with custom object store wrapper
let store_params = ObjectStoreParams {
    object_store_wrapper: Some(object_store_wrapper),
    ..Default::default()
};

// Create WriteParams with custom ObjectStore
let mut write_params = WriteParams::default();
write_params.store_params = Some(store_params);

// Create table with custom ObjectStore
let table = db
    .create_table("my_table", data)
    .write_options(WriteOptions {
        lance_write_params: Some(write_params),
    })
    .execute()
    .await
    .unwrap();`

We request to add this provision for connect API as well, so that the wrapper client can be initialized only once and used through out of for all subsequent I/O operations as well (instead of creating and passing it for each table operation)

Activity

  1. added
    enhancement
    on Feb 26, 2026
  2. wjones127 commented on Feb 26, 2026

    @wjones127
    Contributor

    Are you asking for a custom object store or object store wrapper? It's not 100% clear what your use case is.

  3. soumyakoduri commented on Feb 27, 2026

    @soumyakoduri
    Author

    We like to have object store wrapper.

    Our use-case is to use lancedb on Ceph RGW S3 store. For that we are adding a new backend in arrow-rs-object-store.

    As part of that we were exploring if we can pass some custom parameters (as opaque pointers) via lanceDB APIs to object-store RGW backend. It seemed like that can be achieved by adding a object store wrapper (containing extra params) and pass it via store_params.

  4. yuvalif commented on Jul 9, 2026

    @yuvalif
    Contributor

    @wjones127 could you please close this?
    it is possible to achive that usign custom object store registry as a session parameter using existing lancedb APIs.
    see: lancedb/lancedb-c#50

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions