private void enrichFromServiceContext(Record record) {
    record.setClusterId(serviceContext.getClusterId());
    record.setServerAddress(serviceContext.getHost());
    record.setServerPort(serviceContext.getPort());
  }
With query history, a more detailed HiveOperation-based query classification is introduced without breaking the
original one. If there is an SqlKind stored in the QueryState, the record will contain it.
ql/src/java/org/apache/hadoop/hive/ql/queryhistory/RecordEnricher.java