@Override
  public GetLatestCommittedCompactionInfoResponse getLatestCommittedCompactionInfo(
      GetLatestCommittedCompactionInfoRequest rqst) throws MetaException {
    return jdbcResource.execute(new GetLatestCommittedCompactionInfoHandler(rqst));
  }
We assume this is only called by metadata cache server to know if there are new base/delta files should be read.
The query filters compactions by state and only returns SUCCEEDED or READY_FOR_CLEANING compactions because
only these two states means there are new files ready to be read.
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/TxnHandler.java