public static String getProxyClass(Configuration metastoreConf) {
    return metastoreConf.get(MetastoreConf.ConfVars.EXPRESSION_PROXY_CLASS.getVarname(),
            MsckPartitionExpressionProxy.class.getCanonicalName());
  }
Msck repairs table metadata specifically related to partition information to be in-sync with directories in table
location.
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/Msck.java