dpe.setExpr(partExpr.getSecond());
dpe.setPartArchiveLevel(partExpr.getFirst());
exprs.add(dpe);
}
rps.setExprs(exprs);
DropPartitionsRequest req = new DropPartitionsRequest(dbName, tblName, rps);
req.setDeleteData(deleteData);
req.setIgnoreProtection(ignoreProtection);
req.setNeedResult(true);
req.setIfExists(ifExists);
return client.drop_partitions_req(req).getPartitions();
}