Routing Rules

Enabling Routing Rules

Add the following configuration to:

Trino Gateway Configuration

Bash
Copy

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
Copy

This rule routes all queries containing:

Bash
Copy

to 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