Trino
Connect Vulcan to Trino for federated SQL across catalogs and data lakes.
Trino is a distributed SQL query engine for analytics across data lakes, databases, and object storage. Use the trino adapter. The one decision to make here is who owns the cluster: that decides which path you follow.
The cluster should be part of the Data Product deployment. Vulcan provisions and owns one cluster per product.
You connect to DataOS Minerva, a shared, DataOS-managed Trino cluster in your tenant.
You bring your own Trino-compatible endpoint, such as Starburst or self-hosted Trino.
For the full Trino reference, including cluster tuning, failure modes, and local development, see the Trino engine manual in References.
Rules for every Trino path
connection.typeistrino;model_defaults.dialectistrino.vde: false. Trino doesn't supportvde: true.Store passwords and tokens in environment variables locally, and in DataOS Secrets when deploying.
Use lowercase identifiers, and fully qualified three-part names (
catalog.schema.table) for every model name, source read, and DQdepends_onreference. Trino lowercases unquoted names; quote with"only for reserved words.Use a half-open window (
>= @start_dt AND < @end_dt), notBETWEEN, on time-range incrementals, to avoid reprocessing or duplicating rows at the window boundary.Declare cross-catalog sources the linter can't resolve in
inputs.yaml, or it throwsTable not found.
Pick the path that matches cluster ownership. If the cluster already exists and Vulcan only needs to connect, use Minerva for a shared, DataOS-managed cluster, or External Trino for your own. If the cluster should ship with the product, use Dedicated Trino.
Model kinds and federation
VIEW, FULL, SEED, INCREMENTAL_BY_TIME_RANGE, and INCREMENTAL_BY_PARTITION. VIEW is Trino's superpower — a staging view can read directly from a remote source catalog, federating across every mounted catalog, while FULL and the incremental kinds materialize into the default catalog (the first entry in deployment.depots in config.yaml on a dedicated cluster, or whatever TRINO_CATALOG resolves to on Minerva/external). Python models are not supported on Trino.
Endpoints and metadata scanning
The Trino stack serves REST, GraphQL, and MySQL-wire endpoints; queries push execution to Trino, so size the API track separately from the cluster and keep API memory at or above 2 GiB for large result sets. DataOS scans the depots behind the Trino catalogs (not Trino itself) for lineage every 6–12 hours; on a dedicated cluster, grant the scanner principal purpose: scan on each source depot in deployment.depots.
Troubleshooting across all three shapes
Table not found for a source
Cross-catalog source not declared, or wrong catalog name
Add it to inputs.yaml; use catalog.schema.table.
vulcan plan works locally, fails in DataOS
Depot/catalog missing or misnamed, or wrong default catalog
Verify with SHOW CATALOGS; check what resolves as the default.
Catalog present but queries fail
Missing credentials, or permission/schema issues
SHOW SCHEMAS FROM <catalog>; then a 1-row SELECT; fix credentials and re-apply.
Time-range incremental reprocesses everything
Missing/wrong time_column, or no @start_dt/@end_dt filter
Set time_column and filter the source with the interval macros.
Deploy manifest parsed as a model
*-deploy.yaml not ignored
Add it to ignore_patterns in config.yaml.
Shape-specific failure modes (cluster formation, JVM heap, plugin loading, connector setup) live on the Dedicated Trino and Minerva pages, and the full reference in the Trino engine manual.
Last updated
Was this helpful?