Skip to content

Does this C binding provides Lance Namespace-related APIs? #51

Description

@unconsolable

I found that the Rust FFI bindings in https://github.com/lance-format/lance-duckdb provides several APIs relateds to Lance Namespace. For instance, create/drop/open dataset in namespace can be found as follows:

void *lance_open_dataset_in_dir_namespace(
    const char *root, const char *table_name, const char **option_keys,
    const char **option_values, size_t options_len, const char **out_table_uri);
void *
lance_open_dataset_in_namespace(const char *endpoint, const char *table_id,
                                const char *bearer_token, const char *api_key,
                                const char *delimiter, const char *headers_tsv,
                                const char **out_table_uri);
int32_t lance_namespace_create_empty_table(
    const char *endpoint, const char *table_id, const char *bearer_token,
    const char *api_key, const char *delimiter, const char *headers_tsv,
    const char **out_location, const char **out_storage_options_tsv);
int32_t lance_namespace_drop_table(const char *endpoint, const char *table_id,
                                   const char *bearer_token,
                                   const char *api_key, const char *delimiter,
                                   const char *headers_tsv);

However, similar APIs can not be found in this C binding. Also, Cargo.toml in this repo does not refer to lance-namespace as dependencies. Does lance-c planned to provide such APIs? Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions