Description
Workload management can defined Triggers that are bound to a resource plan. Each trigger can have a trigger expression and an action associated with it. Trigger expressions are evaluated at runtime after configurable check interval, based on which actions like killing a query, moving a query to different pool etc. will get invoked. Simple execution trigger could be something like
CREATE TRIGGER slow_query IN global WHEN execution_time_ms > 10000 MOVE TO slow_queue
Attachments
Attachments
Issue Links
- blocks
-
HIVE-17778 Add support for custom counters in trigger expression
- Closed
- is blocked by
-
HIVE-17637 Refactor WorkloadManager for accessing operations handles in service layer
- Resolved
- links to