private MStoredProc getMStoredProcedure(String catName, String db, String procName) {
    MStoredProc proc;
    catName = normalizeIdentifier(catName);
    db = normalizeIdentifier(db);
    boolean committed = false;
    Query query = null;
    try {
      openTransaction();
      query = storedProcQuery();
      proc = (MStoredProc) query.execute(procName, db, catName);
      pm.retrieve(proc);
      committed = commitTransaction();
    } finally {
      rollbackAndCleanup(committed, query);
    }
    return proc;
  }
Get partition's column stats

@return Map of column name and its stats
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/ObjectStore.java