private List<String> getExistingNonPartTableStatsToUpdate(TableName fullTableName,
String cat, String db, String tbl, Map<String, String> params, long statsWriteId,
List<String> allCols, String writeIdString) throws MetaException {
ColumnStatistics existingStats = null;
try {
existingStats = rs.getTableColumnStatistics(cat, db, tbl, allCols);
} catch (NoSuchObjectException e) {
LOG.error("Cannot retrieve existing stats, skipping " + fullTableName, e);
return null;
}
boolean isTxnValid = (writeIdString == null) || ObjectStore.isCurrentStatsValidForTheQuery(
conf, params, statsWriteId , writeIdString, false);
return getExistingStatsToUpdate(existingStats, params, isTxnValid);
}