External Trino
Minimum Trino SQL or connector access-control privileges for running Vulcan against a client-managed Trino cluster, by secret_name tier.
This document covers the minimum Trino permissions needed to run Vulcan against an external Trino cluster. External Trino is a Trino cluster that the client already operates independently of DataOS; Vulcan connects to it as it would connect to any other external engine.
Vulcan cannot create Trino catalogs. All catalogs must already exist and be registered in Trino's configuration. Vulcan only needs permission to use existing catalogs and, when required, create schemas and objects inside them.
vde: true is not supported for Trino, because Trino does not support the transactions that full Virtual Data Environments require. Vulcan always runs in DEV_ONLY mode with Trino: physical tables use a fixed __novde suffix, and a virtual layer view points at them.
What Vulcan does
On source schemas (read-only):
SELECTon tables and views referenced by modelsReads
<catalog>.information_schema.tablesandsystem.metadata.materialized_viewsfor object introspection (both are readable by all users in a standard Trino deployment)
On the model target schema (write):
CREATE TABLE,DROP TABLE+CREATE TABLE: full model refresh (CREATE OR REPLACE TABLEonly on Iceberg and Delta Lake catalogs; Hive uses DROP + CREATE)CREATE VIEW,DROP VIEW: semantic layer views and virtual layer promotionALTER TABLE: column adds/drops when model schema changes between deploymentsINSERT,DELETE: incremental model evaluationDELETE FROM: used as the TRUNCATE fallback (some Trino connectors do not supportTRUNCATE)SET SESSION <catalog>.insert_existing_partitions_behavior: session property for Hive connector partition overwrite; no special privilege required
On the state schema (write):
Same as target schema. Vulcan stores internal metadata here (_snapshots, _environments, _intervals, etc.). By default this is the same schema as the model target. If state_schema in the gateway config points elsewhere, apply the same write grants to that schema too.
Not needed here:
CREATE TABLE ... CLONE: not supported by TrinoMERGE: Trino does not expose a standard MERGE; Vulcan uses DELETE + INSERT within a logical mergeGRANT/REVOKE: Vulcan does not issue grant statements through Trino (SUPPORTS_GRANTS = false)
Required privileges summary
Source catalog
USE / access to catalog
Source schema
SELECT on tables and views
Target catalog
USE / access to catalog, CREATE SCHEMA if Vulcan creates the schema
Target schema
CREATE TABLE, CREATE VIEW, SELECT, INSERT, DELETE, DROP TABLE, DROP VIEW, ALTER TABLE
secret_name: trino-semantic-readonly
Use this when Vulcan only exposes Trino tables or views through the semantic layer. No models are executed, and no objects are created or written. This is a pure read-only connection.
Required privileges
The Vulcan user must be allowed to:
Access the source catalog
Read from the source schema (
SELECTon tables and views)
Or on specific tables:
In your Trino rules.json:
What works: Semantic queries over external models. What is blocked: Vulcan cannot create, alter, truncate, delete, or drop any Trino object.
secret_name: trino-single-catalog-full
Use this when the source schema and the Vulcan target schema are both inside one Trino catalog. This covers all Vulcan model kinds (FULL, INCREMENTAL_BY_TIME_RANGE, SCD_TYPE_2, SEED, VIEW) plus semantic layer exposure.
Source schema (read-only)
If models read from more than one schema within the same catalog, apply the same schema-level grant for each additional source schema.
Vulcan target schema (read/write)
The Vulcan user must be able to create and manage all objects in the target schema. If the schema does not yet exist, the user also needs permission to create it.
Or grant ownership on the schema to cover all current and future objects:
What works: All Vulcan model kinds, semantic layer, and state sync, within a single Trino catalog.
secret_name: trino-cross-catalog-full
Use this when Vulcan reads from one or more source catalogs and writes model outputs into a separate target catalog. Repeat the source catalog and schema grants for every source Vulcan reads from.
Source catalogs (read-only)
If models read from more than one source catalog, apply the same schema-level grant for each additional source catalog and schema combination. If a source catalog has more than one schema that models read from, apply the same schema-level grant for each additional source schema.
Target catalog (read/write)
What works: All Vulcan model kinds, semantic layer, and state sync, across multiple source catalogs into a dedicated target catalog. Source catalogs retain no write access.
Notes
vde: trueis blocked for Trino. Vulcan always runs inDEV_ONLYmode: physical tables use a__novdesuffix, and a virtual layer view maps the original model name to that table. This is automatic and requires no additional configuration.TRUNCATEis not supported on some Trino connectors, notably Hive. Vulcan falls back toDELETE FROMto empty a table. The required privilege isDELETE, not a separateTRUNCATEprivilege.CREATE OR REPLACE TABLEis only supported on Iceberg and Delta Lake catalogs. On Hive catalogs, Vulcan drops the table and recreates it, soDROP TABLEpermission is required on the target schema.SET SESSION <catalog>.insert_existing_partitions_behavioris used by Vulcan during partition overwrite on Hive catalogs. This is a session-scoped property and requires no special privilege in a standard Trino configuration.system.metadata.catalogsandsystem.metadata.materialized_viewsare part of Trino's built-insystemcatalog and are readable by all users in a standard deployment. If your workspace restricts access to thesystemcatalog, grant read access on those tables to the Vulcan user.SQL
GRANTsyntax in Trino is only available on connectors that implement theConnectorAccessControlinterface (Iceberg is the most common). For Hive connector deployments, use file-based access control rules, Apache Ranger policies, or OPA rules to grant the equivalent privileges.
Related resources
Minimum permissions for a DataOS-managed Trino deployment, where grants apply to depot data sources instead of Trino SQL objects
Last updated
Was this helpful?