arrow

import

Import an Arrow-compatible file into a product primitive.

strata arrow import

wire arrow_import

Imports an Arrow-compatible file (Parquet, CSV, or JSONL) into a product primitive on the selected branch and space. Rows are written through the standard batch commands, so the import commits like any other write. Returns a summary of the target primitive, the input file, and the imported, skipped, and batch counts.

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 import --help

Example

Import a primitive's rows from a Parquet file written by export.

strata kv put greeting hellostrata command run --command-json '{"format":"parquet","path":"/tmp/exports/kv.parquet","primitive":"kv","type":"arrow_export"}'strata kv delete greetingstrata arrow import /tmp/exports/kv.parquet --target kv  # Rows are keyed by their source column; kv restores greeting=hello.strata kv get greeting

Parameters

NameTypeRequiredDescription
file_pathstringyesInput file path.
targetArrowImportTargetyesProduct primitive to import into.one of: kv, json, vector, graph, event
branchstring or nullnoTarget branch. Defaults to the executor handle branch.
collectionstring or nullnoTarget vector collection for vector imports.
formatanynoInput file format. Defaults to extension detection.
graphstring or nullnoTarget graph for graph imports.
key_columnstring or nullnoOptional key column override.
spacestring or nullnoTarget product space. Defaults to `"default"`.
value_columnstring or nullnoOptional value, document, or embedding column override.

Returns

StatusResponse<ArrowImport>

  • dataArrowImportResult
  • 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/import.md