@Override
  public int execute() throws HiveException, IOException {
    context.getDb().dropWMPool(desc.getResourcePlanName(), desc.getPoolPath());

    return 0;
  }
Operation process of dropping a workload management pool.
ql/src/java/org/apache/hadoop/hive/ql/ddl/workloadmanagement/pool/drop/DropWMPoolOperation.java