Expand description
Graph → lakehouse: export FalkorDB query results back to GraphAr files.
The reverse of the ingest bridge. FalkorDbLoader writes
Arrow into FalkorDB; this reads a Cypher query’s result rows back out as
Arrow and writes them as a chunked GraphAr file (parquet/csv/orc/json/
arrow-ipc) — so a graph computed in FalkorDB can land back in the lakehouse
(and from there into Iceberg, object storage, etc.). Both directions of the
columnar ↔ graph bridge now exist.
Structs§
- Export
Report - Outcome of an
export_cypher/export_cypher_chunkedcall.
Functions§
- export_
cypher - Run
cypheragainst the executor’s graph and write the result rows as one GraphAr chunk file atpathinfile_type. Returns what was written. - export_
cypher_ chunked - Run
cypherand write the result as multiple GraphAr chunk files —chunk0.<ext>,chunk1.<ext>, … — underdir, each holding at mostchunk_rowsrows. This is the chunked export for huge results: instead of one monolithic file it lands the result the way GraphAr naturally tiles a vertex/edge collection (one file per row-range), so aVertexReader(or a plainread_chunkper file) can stream the chunks back without ever holding the whole result in memory. - write_
batch_ chunked - Slice one in-memory
RecordBatchintochunk_rows-sized record batches and write each aschunk{i}.<ext>underdir. Split out fromexport_cypher_chunkedso the chunking can be exercised (round-tripped) without a FalkorDB connection.