datafusion_executor
cloudberry-datafusion · DataFusion vectorized execution for Apache Cloudberry
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 102208 | datafusion_executor | cloudberry-datafusion | 1.0 | OLAP | Apache-2.0 | C |
Usage
Sources:
datafusion_executor routes eligible Cloudberry plan fragments through a Rust DataFusion engine. It is an extension for the Cloudberry kernel, with a native C interface; stock PostgreSQL portability is not established.
Core Workflow
Operational Boundaries
Load datafusion_executor in shared_preload_libraries and restart coordinator and segment processes so executor hooks exist in every backend. Upstream also documents database-level session preload for new sessions. Install the SQL objects as an administrator. datafusion.mode defaults to off; explain diagnoses eligible fragments without using the alternative executor, while on enables it. Unsupported fragments keep the ordinary executor. datafusion.worker_threads controls the per-backend Rust worker count; the automatic CPU-count setting can oversubscribe a multi-backend installation. Memory is accounted against Cloudberry limits, but spill files are not covered by its normal workfile limits. Floating-point aggregates can differ in their final digits. Diagnostic panic and runtime test functions are intentionally revoked from PUBLIC.