For the complete documentation index, see llms.txt. This page is also available as Markdown.

Starburst

Build and run a Vulcan Data Product on Starburst Galaxy using a Trino-compatible external cluster, covering connection, deployment, materialization, operations, and troubleshooting.

Starburst Galaxy is a managed, Trino-compatible query service. you can build Vulcan's full productization layer: models, semantics, metrics, data quality, versioned lifecycle, and auto-generated REST/GraphQL/SQL endpoints. It runs on infrastructure your team already operates and funds, with zero duplication. Vulcan does not provision or manage Galaxy compute.

Engine adapter type: trino. Model dialect: trino. Tested Vulcan package: vulcan[trino], matching the tmdcio/vulcan-trino image line. Tested cluster: Starburst Galaxy custom cluster (floki) with tpch for reads and s3lhdepot Iceberg/S3 lakehouse for writes. Reference project: trino-usecase/external-starburst. Last updated: July 2026.

Scope and validation status

This first-pass manual reflects one Galaxy cluster and the external-starburst project. Use the validated patterns for production. Test excluded scenarios in your environment before adopting them.

Area
Validated scope
Current limit

Connection

Basic authentication over HTTPS against a Galaxy custom cluster (floki).

JWT, mTLS with client certificates, and Kerberos are not included in the current scope.

Catalogs

tpch as a read-only source and s3lhdepot Iceberg/S3 as a materialization target.

Hive, Delta Lake, and JDBC catalogs are not included in the current scope.

Workload behavior

End-to-end vulcan plan and vulcan run, models, semantics, metrics, DQ, audits, and profiling.

Multi-tenant concurrency and multi-cluster deployments are not included in the current scope.

Performance and cost

No benchmark claims.

Compute-sizing tables, concurrency curves, and cost baselines require Galaxy-specific measurement.

Starburst uses the Trino adapter. Shared model, semantic, metric, DQ, lineage, endpoint, and MCP behavior follows the Trino manual.

When to use Starburst

Choose Starburst when your team already operates Starburst Galaxy. Use Vulcan for governed transformations, data quality, and semantic serving without managing Galaxy compute through DataOS.

Starburst uses the type: trino gateway against the cluster's HTTPS endpoint. It always follows the external Trino deployment shape: Vulcan connects to an existing cluster and never provisions Starburst compute.

Starburst at a glance

Use this section to confirm the deployment and catalog pattern.

Deployment model

Starburst Galaxy via Vulcan

Resource type

vulcan (spec.engine: trino, no spec.trino block, no spec.depots)

Cluster ownership

Pre-existing Starburst Galaxy cluster (created/managed in the Galaxy console, outside DataOS)

Gateway connection

type: trino, basic auth, https, port 443

Catalogs

Already attached to the cluster in Galaxy (console → Clusters → Catalogs tab). Vulcan does not create them

Materialization target

Whichever attached catalog you set as catalog in the gateway (must be writable, e.g. an Iceberg/S3 catalog)

Credentials

Injected via a DataOS Secret + spec.use.projection, not spec.depots

Best for

Teams already running Starburst Galaxy who want Vulcan's modeling/DQ/semantic layer on top, without Vulcan owning any compute

This is architecturally identical to the "External / Minerva Trino" row in the Trino manual's engine-shape table. Starburst is just one more Trino-compatible endpoint behind the same gateway type.

Catalog pattern

A single query can federate across every catalog attached to the cluster, but only some of those catalogs can be written to:

  • tpch : Trino's built-in synthetic data generator. An excellent free read-only source for learning and testing; it has no CREATE SCHEMA/CREATE TABLE support, so nothing can ever be materialized into it.

  • A writable lakehouse catalog (e.g. s3lhdepot, Iceberg-on-S3): This is where Vulcan's FULL/VIEW/INCREMENTAL models actually land.

Every model in the reference project reads from tpch.tiny.* and writes into s3lhdepot.<layer>.*, federated in one query, on one cluster. Swap tpch for a real source catalog (Postgres, Snowflake, another lakehouse, and so on) once you're past the hello-world stage. The pattern doesn't change.

Engine characteristics

Item
Value

Engine adapter type

trino (same adapter as every other Trino project)

Model dialect

trino

Auth validated

Basic auth over HTTPS

Authentication and catalog scope

Identifier casing

Lowercase (Trino default)

Schema resolution

Always from the model's 3-part name (catalog.schema.table). The gateway has no schema-level config key, unlike Snowflake/Databricks, which default a schema

Supported model kinds

VIEW, FULL, SEED, INCREMENTAL_BY_TIME_RANGE, INCREMENTAL_BY_PARTITION

Local state store

DuckDB (./.state.db)

Known Iceberg gotcha

INCREMENTAL_BY_PARTITION needs catalog_type_overrides set explicitly. See Configure catalog_type_overrides under Starburst-specific behavior

Validated capabilities

  • A clean end-to-end vulcan plan / vulcan run against a live Galaxy cluster: staging → intermediate → mart, semantics, metrics, DQ, audits, and profiling all pass.

  • A federated read (tpch) and write (s3lhdepot) in the same query, on the same cluster.

  • Negative-path errors (bad auth, bad host, missing catalog, missing schema, unsupported table property), all captured against a real cluster. See Failure modes and troubleshooting.

Review Scope and validation status before using authentication, catalog, or workload patterns outside this guide's scope.

Connection options

Use this section to configure authentication, prerequisites, permissions, and local requirements.

Authentication Methods

Method
Status against Starburst

Basic (username/password over HTTPS)

✅ Validated

JWT

Supported by the type: trino gateway; outside this guide's scope

mTLS with client certificates

Supported by the gateway; outside this guide's scope

Kerberos

Supported by the gateway; outside this guide's scope

Galaxy usernames take a <email>/<role> shape. Omitting the /<role> suffix produces a confusing 404 User not found rather than an auth error (see Failure modes and troubleshooting, F3).

Starburst-side permissions and grants

Unlike managed Trino, there's no compute pool or stack to install. Starburst Galaxy already exists as a SaaS product. Here's what you need before touching Vulcan:

Requirement
Where to get it

A Galaxy account and a cluster

Galaxy console → Clusters. Note the cluster's Trino endpoint host (<cluster>.trino.galaxy.<domain>), not the console URL.

At least one read source catalog attached

Console → Clusters → your cluster → Catalogs tab. tpch ships built in for a zero-setup hello world.

At least one writable catalog attached

An Iceberg/S3 (or equivalent) catalog you've created and attached to the same cluster. This is your materialization target.

A user with the right role suffix

Galaxy usernames used by the Trino wire protocol are <email>/<role> (e.g. you@example.com/accountadmin), not just the email. See Failure modes and troubleshooting, F3.

A password (or other supported credential)

Galaxy console → your account settings, or an issued cluster password.

DataOS permissions

These permissions must be provisioned before you create and deploy a Data Product:

Permission

What it allows

Granted by

Tenant access

Build and manage Data Products within your tenant.

Tenant Admin

roles:id:data-dev (or your tenant's equivalent role tag)

Create and apply Vulcan resources. Verify your role using dataos-ctl user get and check the TAGS column.

Tenant Admin

Permission to create a Secret resource

Store STARBURST_* credentials

Tenant Admin

depot:rw depot:r

Not applicable. You do not create a Depot to connect with Starburst. Vulcan receives credentials through a DataOS Secret and environment variables.

N/A

Can Use (Compute, Depots, Secrets)

Use the compute pool and Secret resources required by the deployment. Resource access is deny-by-default.

Tenant Admin, Data Admin, or the resource owner

git-sync Secret

Allows Vulcan to pull model code from Git using credentials stored in a Secret. Request a git-sync Secret, not raw Git credentials. You also need Can Use permission on the secret.

Tenant Admin, Data Admin, or the Secret owner (with Can Use granted)

Local development requirement

Requirement
Version

Python (local development)

3.10 to 3.13

Before you begin

Ensure:

Before you ship checklist (Data Product developer)

Local development

Connect your workstation directly to the existing Galaxy cluster. Starburst requires no local Docker cluster because Galaxy already provides the Trino compute.

Install Vulcan

Same wheel and extra as any other Trino project. Starburst needs no separate engine package.

Set up credentials

Keep real credentials out of config.yaml and out of git entirely. Use a .env file, gitignored:

Configure config.yaml

No schema field. The type: trino gateway takes catalog only. There is no default-schema connection key. Schema always comes from each model's fully-qualified catalog.schema.table name.

Build a hello-world project

The minimum-viable Data Product against Starburst is one seed-backed VIEW over the free tpch.tiny sample data, materialized into your writable lakehouse catalog. No local infrastructure is needed beyond the Vulcan CLI and a network path to your Galaxy cluster.

Confirm the two catalogs first. Swap in your real catalog name for s3lhdepot below:

models/staging/stg_customer.sql: A typed, renamed pass-through:

models/staging/stg_orders.sql: A second source table, joined later:

models/mart/mart_customer_orders.sql: The first materialized (FULL) table, actually written into your writable catalog:

models/semantics/orders.yml : expose it to the semantic layer:

models/metrics/daily_revenue.yml:

Validate your connection

Sanity check after run:

If vulcan plan succeeds and run materializes without error, your local setup is complete. Common failures at this step are covered in Failure modes and troubleshooting.

Extend the hello-world project

The reference project (external-starburst) takes this exact pattern and extends it to a full layered pipeline: 8 staging views, a SEED-backed lookup table, 4 intermediate models, 9 mart models (dimensions, a fact table, daily/monthly rollups, a window-function rank, both incremental kinds), 4 semantic models, 2 metrics, 10 DQ suites, 7 custom audits, and 3 unit tests. All run against the same tpch + s3lhdepot pair on one Galaxy cluster. See trino-usecase/external-starburst/README.md for the fully worked version of every layer summarized under Starburst-specific behavior, below; it's the canonical example this manual is drawn from.

Production deployment

Deploy after local plan and run succeed.

Starburst has no depot and no spec.trino block in the deploy resource. Credentials flow entirely through a DataOS Secret and spec.use.projection.

1

Create the secret

Plain-text values; DataOS base64-encodes them automatically on ds apply (the same convention as Kubernetes Secrets):

2

Reference it from the deploy resource

3

Confirm startup configuration

The plan/run workflow pods read STARBURST_* from the environment at startup. If the secret doesn't exist yet, or the contextAlias in spec.use.projection.secrets doesn't match what envVars templates reference, every model fails at connection time before a single query runs.

Starburst-specific behavior

Use this section for Galaxy-specific configuration. Shared Vulcan behavior follows the type: trino adapter and the Trino manual.

Architectural constraints specific to Starburst:

  • Vulcan never provisions or manages Starburst compute. The cluster, its catalogs, and its scaling are entirely a Galaxy-console concern.

  • The gateway has no schema-level config key; schema always comes from the model's fully-qualified name.

  • Live catalog-type detection (Iceberg vs. Hive-style DDL) isn't reliable against Galaxy. Always set catalog_type_overrides explicitly for any catalog you run INCREMENTAL_BY_PARTITION against.

Configure catalog_type_overrides

Vulcan picks between Iceberg's PARTITIONING table property and the Hive-style partitioned_by property by calling get_catalog_type(), which by default queries system.metadata.catalogs live. Against Starburst Galaxy, this didn't reliably resolve to 'iceberg', so the adapter silently fell back to the Hive-style property name, which Iceberg rejects outright:

The fix is to force it explicitly in config.yaml, on the gateway connection. The adapter checks this override before the live query:

This only matters for INCREMENTAL_BY_PARTITION models. VIEW, FULL, and INCREMENTAL_BY_TIME_RANGE are unaffected.

Shared Vulcan capabilities

There are no Starburst-specific differences from the Trino manual. The same kind: dq / AUDIT(...) / assertions (...) / kind: semantic / kind: metric mechanics apply, and all execute as ordinary Trino SQL against the Galaxy cluster. See Trino for the full reference; only the DDL quirk described under The catalog_type_overrides requirement, above, is Starburst-specific.

Engine-native feature support

Use this table to map Galaxy objects to their Vulcan patterns.

Starburst/Galaxy object
Vulcan pattern
Notes

Catalog (any connector Galaxy supports)

Read via fully-qualified 3-part model names

Must already be attached to the target cluster in the Galaxy console

Iceberg table

kind FULL / kind VIEW / kind INCREMENTAL_BY_TIME_RANGE / kind INCREMENTAL_BY_PARTITION

Set catalog_type_overrides for the partitioned kind (see Configure catalog_type_overrides)

Role-based auth (<user>/<role>)

user field in the gateway connection

Role suffix required

Cluster-level catalog access control

N/A; managed entirely in the Galaxy console

Attach/detach catalogs there, not via Vulcan

Operational boundaries

Use this section to configure the workflow and API resources. Galaxy owns cluster sizing and scaling.

Galaxy-specific compute sizing, concurrency limits, and API replica guidance require measurement. Use the Trino operational guidance as a starting point, then validate it for your workload. Vulcan sizes only the plan/run workflow pod and API track here.

Known operational limitations

Limitation
Workaround

No schema-level connection config

Always use fully-qualified catalog.schema.table names

Catalog-type auto-detection unreliable

Set catalog_type_overrides explicitly (see Configure catalog_type_overrides)

Two catalogs must share a cluster

Attach both source and target catalogs to the same Galaxy cluster before planning

tpch has no write support

Use it for reads only; materialize elsewhere

Performance and cost

Use Galaxy telemetry to establish workload-specific performance and cost baselines. See Scope and validation status for current benchmark limits. For general Trino guardrails, including query timeouts and attribution tags, see Trino.

Troubleshooting

Use these entries to match observed failures with their likely causes and fixes.

Failure modes

#
Symptom
Likely cause
Fix

F1

TrinoUserError: Table property 'partitioned_by' not supported for Iceberg tables

Catalog-type auto-detection didn't resolve to 'iceberg'

Set catalog_type_overrides: { <catalog>: iceberg } (see Configure catalog_type_overrides)

F2

error 401: access_denied No description

Bad password, or (in production only) a double-base64-encoded secret value

Locally: check the password. In production: confirm the secret was stored as plain text (see Production deployment). ds apply already encodes it once

F3

error 404: User not found

Username missing the /<role> suffix

Use <email>/<role>, e.g. you@example.com/accountadmin

F4

error 404: Destination not found

Unreachable/misspelled STARBURST_HOST

Use the cluster's Trino endpoint host (*.trino.galaxy.<domain>), not the Galaxy console URL

F5

TrinoUserError(name=CATALOG_NOT_FOUND, message="Catalog '<x>' not found")

Catalog not attached to the cluster STARBURST_HOST points at

Galaxy console → Clusters → your cluster → Catalogs tab → attach it

F6

TrinoUserError(name=SCHEMA_NOT_FOUND, message="Schema '<x>' does not exist")

Schema doesn't exist in an otherwise-valid, attached catalog

Create the schema, or fix the model's schema name

F7

COLUMN_NOT_FOUND on every tpch.tiny.* staging model

Assumed prefixed TPC-H column names (c_custkey, and so on)

Use DESCRIBE tpch.tiny.<table>. Columns are unprefixed (custkey, orderkey, and so on)

F8

BlockingIOError during vulcan plan on macOS

Vulcan's default fork-worker concurrency

export MAX_FORK_WORKERS=1

F9

Cannot specify both 'audits' and 'assertions' - use one or the other

Tried a separate audits (...) model clause

There's only one clause, assertions (...). It takes built-in checks and custom audit names (bare name only) together in the same list

F10

Editing .env doesn't fix an already-broken shell session

A variable was already exported from an earlier source .env

unset the specific vars, re-source .env, and echo them back before retrying

Failure clarity pattern worth knowing: errors caught by Trino's own query engine after auth succeeds (catalog/schema resolution, unsupported table properties, including F1, F5, and F6) come back as Trino's structured USER_ERROR taxonomy: a specific error name, the exact object named, and a traceable query_id. Errors at the Galaxy gateway/HTTP layer before a query reaches Trino (auth and connection, F2 through F4) come back as generic HTTP status codes with thinner messages instead. They correctly signal the failure category and never echo the password or token back, but they don't name the specific field that was wrong.

Health-check queries

Recovery procedures

  • Stale local state after model changes: Delete .state.db and .cache/ (both gitignored) and re-run vulcan migrate.

  • Suspect a stuck shell env var: unset STARBURST_HOST STARBURST_USER STARBURST_PASSWORD (and so on), re-source .env, and echo each one back before retrying (see F10, above).

Deployment recipes

Hello-world / learning project

Use Hello world through Growing past hello world, above, as-is: tpch read plus a single writable lakehouse catalog, scheduled @daily or run manually, spec.workflow.resources at the small defaults shown under Production deployment.

Layered federated Data Product (staging → intermediate → mart)

Follow the reference project's shape end to end: trino-usecase/external-starburst. Read its README's "Model layers" and "Governance & deployment" sections for the full worked pattern (macros, a SEED-backed lookup, semantics with joins, metrics, DQ suites per mart model, custom audits, unit tests, custom linter rules).

Full implementation example

trino-usecase/external-starburst is the complete, validated Starburst Galaxy example behind this guide. It connects to an existing Galaxy cluster, reads from tpch, and materializes models into a writable Iceberg catalog.

Use it when you need a production-shaped starting point. It includes:

  • Layered staging, intermediate, and mart models.

  • Semantic models, metrics, data-quality suites, audits, and unit tests.

  • Local and DataOS deployment configuration with secret-based credentials.

Start with the hello-world models in this guide. Then adapt the reference project’s catalog names, credentials, and model layers for your environment.

archive · 3MB
Open
  • Trino: The full companion manual for models, semantics, metrics, DQ, lineage, endpoints, and MCP tools.

  • Dedicated cluster: For a Vulcan-provisioned Trino cluster.

  • trino-usecase/external-starburst/README.md: The complete reference project, including its resolved-error changelog.

  • Engine guide overview: Cross-engine guidance used by every engine manual.

Last updated

Was this helpful?