Skip to main content

Module copy

Module copy 

Source
Expand description

COPY FROM execution: parallel CSV import into vertices or edges.

Pipeline: read CSV records โ†’ map columns (header names or positional) โ†’ parse values in parallel per batch (rayon) โ†’ batch-insert through the storage writer. Column mapping is computed once up front so the per-record hot path is a direct index lookup.

Functionsยง

execute_copy_from
Execute a COPY FROM statement and return the number of rows inserted.
execute_copy_to
Execute a COPY TO statement and return the number of rows exported.