Expand description
DataFusion-backed OLAP engine.
Uses Apache DataFusion as the query engine with pluggable storage:
- InMemory:
Vec<RecordBatch>in aHashMap(default, lost on shutdown) - Vortex local:
.vortexfiles per table in a local directory - Vortex S3:
.vortexobjects in an S3-compatible bucket (requirescloud-storagefeature)
§DML Strategy
DataFusion’s MemTable does not support INSERT/UPDATE/DELETE DML natively.
For InMemory mode, we maintain a HashMap<String, TableData> and
re-register a fresh MemTable after each mutation.
For Vortex mode, DataFusion writes directly through the VortexFormatFactory
sink: INSERT uses ctx.sql("INSERT INTO ..."), UPDATE/DELETE use a
read-modify-write cycle (read all → mutate → truncate directory → re-insert).
Structs§
- Data
Fusion Engine - DataFusion-backed OLAP engine.
- Shared
Data Fusion Engine - A cheaply-cloneable,
Arc-wrappedDataFusionEnginethat implementsrhei_core::OlapEngine.