arrow

export

Export a product primitive to an Arrow-compatible file.

strata arrow export

wire arrow_export

Exports a product primitive from the selected branch and space to an Arrow-compatible file (Parquet, CSV, or JSONL). Graph exports treat the path as a stem and write separate node and edge files. Returns a summary of the exported primitive, the concrete output paths, the row count, and the total output size.

Status commands return a scalar or compact status payload and do not mutate database state.

To see the complete help for this command, run:

strata arrow export --help

Example

Export a primitive to a Parquet file, then import it back.

strata kv put greeting hellostrata command run --command-json '{"format":"parquet","path":"/tmp/exports/kv.parquet","primitive":"kv","type":"arrow_export"}'  # One file per primitive; Parquet by default.strata kv delete greetingstrata arrow import /tmp/exports/kv.parquet --target kvstrata kv get greeting

Parameters

NameTypeRequiredDescription
formatArrowFileFormatyesOutput file format.one of: parquet, csv, jsonl
pathstringyesOutput file path. Graph exports treat this as a stem and return concrete node and edge paths.
primitiveArrowExportPrimitiveyesProduct primitive to export.one of: kv, json, event, vector, graph
branchstring or nullnoTarget branch. Defaults to the executor handle branch.
collectionstring or nullnoTarget vector collection for vector exports.
event_typestring or nullnoOptional event type filter for event exports.
graphstring or nullnoTarget graph for graph exports.
limitinteger or nullnoOptional row limit.
prefixstring or nullnoOptional key, document, vector-key, or node-id prefix.
spacestring or nullnoTarget product space. Defaults to `"default"`.

Returns

StatusResponse<ArrowExport>

  • dataArrowExportResult
  • typestring

Errors

Recover by code. Retry policy and commit outcome come from the shipped error registry.

← All 2 Arrow commands

agents: this page as markdown → /docs/reference/arrow/export.md