@Override
  public int execute() throws HiveException, IOException {
    WMMapping mapping = new WMMapping(desc.getResourcePlanName(), desc.getEntityType(), desc.getEntityName());
    context.getDb().dropWMMapping(mapping);

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