Skip to content

Execution Engines

Floe delegates maintenance operations to execution engines that interact with Iceberg tables.

Supported Engines

Engine Type
Trino TRINO
Apache Spark SPARK

Configuration

Select the execution engine using property or environment variable notation:

Property notation:

floe.engine-type=TRINO

Environment variable notation:

FLOE_ENGINE_TYPE=TRINO

Operation Support

Both Trino and Spark support all maintenance operations (compaction, snapshot expiration, orphan cleanup, manifest rewriting) across all supported catalogs.

Each maintenance operation maps to engine-specific commands:

Operation Trino Spark
Rewrite Data Files ALTER TABLE ... EXECUTE optimize RewriteDataFilesSparkAction
Expire Snapshots ALTER TABLE ... EXECUTE expire_snapshots ExpireSnapshotsSparkAction
Orphan Cleanup ALTER TABLE ... EXECUTE remove_orphan_files DeleteOrphanFilesSparkAction
Rewrite Manifests ALTER TABLE ... EXECUTE optimize_manifests RewriteManifestsSparkAction