public static ExecutionTrigger fromWMTrigger(final WMTrigger trigger) {
    final Action action = Action.fromMetastoreExpression(trigger.getActionExpression());
    ExecutionTrigger execTrigger = new ExecutionTrigger(trigger.getTriggerName(),
      ExpressionFactory.fromString(trigger.getTriggerExpression()), action);
    return execTrigger;
  }
Trigger with query level scope that contains a name, trigger expression violating which defined action will be
executed.
ql/src/java/org/apache/hadoop/hive/ql/wm/ExecutionTrigger.java