public void alterFunction(String dbName, String funcName, Function newFunction)
      throws HiveException {
    try {
      getMSC().alterFunction(dbName, funcName, newFunction);
    } catch (TException te) {
      throw new HiveException(te);
    }
  }
Enqueue a compaction request.  Only 1 compaction for a given resource (db/table/partSpec) can
be scheduled/running at any given time.
@param request The {@link CompactionRequest} object containing the details required to enqueue
               a compaction request.
@throws HiveException
ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java