Minerva
Connect Vulcan to DataOS Minerva, a shared Trino-compatible cluster managed by DataOS.
Minerva is a Trino-compatible query cluster that DataOS runs and manages in your tenant. Use this path when a Minerva cluster already exists and Vulcan only needs to connect to it. You don't provision anything: you point Vulcan at the running cluster and authenticate with a DataOS Secret. This page covers the connection. For the full reference, see the Trino engine manual in References.
Before you start
You need a running Minerva cluster and its details:
Cluster name, for example
minerva-cluster.Host, for example
tcp.<env-name>.dataos.cloud, and port, commonly7432.Catalog name, for example
s3depot.Your DataOS user ID, API key, and tenant name, to generate a Minerva password: a base64-encoded JSON object with 3 fields,
cluster,apikey, andtenant.
echo -n '{"cluster":"<cluster>","apikey":"<api-key>","tenant":"<tenant>"}' | base64 | tr -d '\n'[Convert]::ToBase64String([Text.Encoding]::UTF8.GetBytes('{"cluster":"<cluster>","apikey":"<api-key>","tenant":"<tenant>"}'))Command Prompt has no built-in base64 encoder. Use certutil, then strip its header, footer, and line breaks:
echo {"cluster":"<cluster>","apikey":"<api-key>","tenant":"<tenant>"}> payload.json
certutil -encode payload.json payload.b64
type payload.b64certutil -encode wraps the output in -----BEGIN CERTIFICATE----- / -----END CERTIFICATE----- lines and inserts line breaks every 64 characters. Open payload.b64, remove those two header/footer lines, and join the remaining lines into one string before using it as the password. PowerShell is the simpler option on Windows.
Confirm the cluster exists:
dataos-ctl resource get -t minerva -a
dataos-ctl resource get -t minerva -n <minerva-cluster-name>Permissions
The Minerva user needs USE on the source and target catalogs, CREATE SCHEMA on the target catalog if Vulcan creates the schema, SELECT on source tables and views, and CREATE TABLE, CREATE VIEW, SELECT, INSERT, DELETE, DROP TABLE, DROP VIEW, and ALTER TABLE on the target schema.
1. Create and project the Secret
Store the user ID and the generated password in a Secret:
Apply it, then project the values into the environment variables config.yaml reads. The projection lives under deployment: in config.yaml, alongside the rest of your deploy settings:
2. config.yaml (for local)
Supported model kinds
Minerva supports only the VIEW model kind. FULL, SEED, INCREMENTAL_BY_TIME_RANGE, and INCREMENTAL_BY_PARTITION require a dedicated Trino cluster. See the Trino engine manual.
Before you plan
Confirm:
vde: false,connection.type: trino, andmodel_defaults.dialect: trinoare set.The host, port, user, catalog, and password are all set.
The Secret is applied and projected.
The user can create schemas, tables, and views in the target catalog.
Validate locally with vulcan migrate, then vulcan plan (a dry run — expect your VIEW models staged), then vulcan run.
Deploying
There's no cluster to size, JVM to tune, or plugin directory to manage — Minerva is already running. The gateway shape carries straight into production unchanged. Deploy settings live under deployment: in config.yaml, with no deployment.trino block; vulcan create_deploy_yaml renders the resource, and the deployment.use projection re-injects the same connection env vars from the Secret instead of your shell exporting them. Drop state_connection before deploying, since DataOS provisions the state store automatically. Keep ignore_patterns: ["*-deploy.yaml"] so a rendered deploy manifest is never parsed as a model.
Troubleshooting
vulcan plan works locally, fails in DataOS
Wrong catalog/schema permission on Minerva, or an env var not projected correctly
Verify with SHOW CATALOGS; check the projected secret values.
Catalog present but queries fail
Missing credentials or permission that only surfaces on access
SHOW SCHEMAS FROM <catalog>; then a 1-row SELECT; ask your platform team to fix grants.
Auth failure connecting to Minerva
TRINO_PASSWORD treated as a literal password instead of the DataOS API key it is
Confirm the secret's password field carries the full API key string.
Production vulcan migrate fails
Platform-managed state store not provisioned or unreachable
Escalate to the SRE/platform team, then re-run vulcan migrate.
For the full hello-world walkthrough, production deploy example, and failure-mode table, see Minerva in the Trino engine manual.
Then continue to Assets.
Last updated
Was this helpful?