Arrow commands

2 commands. Each entry gives the invocation and an example, in the interface you pick; open the details for parameters, return shape and error codes.

export

Export a product primitive to an Arrow-compatible file.

strata 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.

To see the complete help for this command, run:

strata arrow export --help

Example

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
View details →

import

Import an Arrow-compatible file into a product primitive.

strata 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.

To see the complete help for this command, run:

strata arrow import --help

Example

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
View details →