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

    return 0;
  }
Operation process of dropping a resource plan.
ql/src/java/org/apache/hadoop/hive/ql/ddl/workloadmanagement/resourceplan/drop/DropResourcePlanOperation.java