Documentation
ODP 3.3.6.4-1
Release Notes
What is ODP
Installation
Component User guide and Installation Instructions
Upgrade Instructions
Downgrade Instructions
Reference Guide
Security Guide
Troubleshooting Guide
Uninstall ODP
Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
Routing Rules
Summarize Page
Copy Markdown
Open in ChatGPT
Open in Claude
Connect to Cursor
Connect to VS Code
Enabling Routing Rules
Add the following configuration to:
Trino Gateway Configuration
Bash
xxxxxxxxxxroutingRules: rulesEngineEnabled: true rulesType: FILE rulesConfigPath: /etc/trino-gateway/conf/rules.yaml
The path you provide must be read and writable by the Trino Gateway user as defined in the mpack. The path defined in the above example is a likely safe place to store it.
You can then add routing rules to the YAML configuration file.
Example Routing Rule
Bash
xxxxxxxxxx---name: "airflow"description: "if query from airflow, route to etl group"condition: 'request.getHeader("X-Trino-Source") == "airflow"'actions: - 'result.put("routingGroup", "etl")'---This rule routes all queries containing:
Bash
xxxxxxxxxxX-Trino-Source: airflowto the etl routing group.
Queries without matching rules are routed to the adhoc group.
Rule Management Notes
- Once you have created the YAML file with your rules, you can view and edit them in the UI.

- New rules cannot currently be created from the UI.
VariableType to search · ESC to discard
GlossaryType to search · ESC to discard
InsertType to search · ESC to discard
No matches
Last updated on May 27, 2026
Was this page helpful?
Next to read:
Trino Gateway LDAP Authenticationnull
Discard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message