LanceDB.ArrowSchema (LanceDB v0.2.0)

Copy Markdown View Source

A physical Arrow output description. Fields share the Schema/Field vocabulary, but may contain blob descriptors, unsupported external types, or field properties that the storage engine cannot persist. Inspection never silently drops them.

Use to_schema/1 to validate and explicitly convert a description into a table definition. Blob descriptors require fetching payloads and declaring :blob; they cannot be converted into writable payload fields automatically.

Summary

Functions

Validates storage compatibility, returning a logical Schema or an Error.

Types

t()

@type t() :: %LanceDB.ArrowSchema{fields: [LanceDB.Field.t()], metadata: map()}

Functions

to_schema(arrow)

@spec to_schema(t()) :: LanceDB.result(LanceDB.Schema.t())

Validates storage compatibility, returning a logical Schema or an Error.