public static List<String> getColumnsHavingStats(Map<String, String> params) {
    if (params == null) {
      // No table/partition params, no statistics available
      return null;
    }
    ColumnStatsAccurate stats = parseStatsAcc(params.get(COLUMN_STATS_ACCURATE));

    // No stats available.
    if (stats == null) {
      return null;
    }
    return ImmutableList.copyOf(stats.columnStats.keySet());
  }
@param params table/partition parameters
@return the list of column names for which the stats are available.
standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/common/StatsSetupConst.java