private String getThreadName() {
      return String.format("Scheduled Query Executor(schedule:%s, execution_id:%d)",
          pollResponse.getScheduleKey().getScheduleName(), pollResponse.getExecutionId());
    }
Responsible for a single execution of a scheduled query.

The execution happens in a separate thread.
ql/src/java/org/apache/hadoop/hive/ql/scheduled/ScheduledQueryExecutionService.java