@Override
  @RetrySemantics.ReadOnly
  public List<String> findColumnsWithStats(CompactionInfo ci) throws MetaException {
    return jdbcResource.execute(new FindColumnsWithStatsHandler(ci));
  }
Queries metastore DB directly to find columns in the table which have statistics information.
If {@code ci} includes partition info then per partition stats info is examined, otherwise
table level stats are examined.
@throws MetaException
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/CompactionTxnHandler.java