private void updatePartitionColumnStatisticsInCache(ColumnStatistics colStats, Map<String, String> newParams,
                                                  List<String> partVals) throws MetaException, NoSuchObjectException {
    String catName = colStats.getStatsDesc().isSetCatName() ? normalizeIdentifier(
            colStats.getStatsDesc().getCatName()) : getDefaultCatalog(conf);
    String dbName = normalizeIdentifier(colStats.getStatsDesc().getDbName());
    String tblName = normalizeIdentifier(colStats.getStatsDesc().getTableName());
    if (!shouldCacheTable(catName, dbName, tblName)) {
      return;
    }
    Partition part = getPartition(catName, dbName, tblName, partVals);
    part.setParameters(newParams);
    sharedCache.alterPartitionInCache(catName, dbName, tblName, partVals, part);
    sharedCache.updatePartitionColStatsInCache(catName, dbName, tblName, partVals, colStats.getStatsObj());
  }
getPartitionSpecsByFilterAndProjection interface is currently non-cacheable.
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/cache/CachedStore.java