Files
lancedb/docs/src/js/classes/MakeArrowTableOptions.md
Jack Ye b4f2300f80 feat: add native OAuth/OIDC authentication support
Add OAuthConfig and OAuthHeaderProvider to the Rust core with support
for five OAuth flows: ClientCredentials, AuthorizationCodePKCE,
DeviceCode, AzureManagedIdentity, and WorkloadIdentity. Token
acquisition and auto-refresh happen entirely in Rust.

Python and TypeScript expose OAuthConfig as a plain config object that
maps to the Rust header provider via FFI — no dynamic callbacks cross
the language boundary.

ConnectBuilder gains an oauth_config() method that replaces the API key
requirement when OAuth is configured.
2026-05-13 09:51:18 -07:00

1.2 KiB

@lancedb/lancedbDocs


@lancedb/lancedb / MakeArrowTableOptions

Class: MakeArrowTableOptions

Options to control the makeArrowTable call.

Constructors

new MakeArrowTableOptions()

new MakeArrowTableOptions(values?): MakeArrowTableOptions

Parameters

* **values?**: `Partial`<[`MakeArrowTableOptions`](MakeArrowTableOptions.md)>

Returns

MakeArrowTableOptions

Properties

dictionaryEncodeStrings

dictionaryEncodeStrings: boolean = false;

If true then string columns will be encoded with dictionary encoding

Set this to true if your string columns tend to repeat the same values often. For more precise control use the schema property to specify the data type for individual columns.

If schema is provided then this property is ignored.


embeddingFunction?

optional embeddingFunction: EmbeddingFunctionConfig;

embeddings?

optional embeddings: EmbeddingFunction<unknown, FunctionOptions>;

schema?

optional schema: SchemaLike;

vectorColumns

vectorColumns: Record<string, VectorColumnOptions>;