@Override
  public GetPartitionsByNamesResult getPartitionsByNames(GetPartitionsByNamesRequest req)
          throws TException {
    checkDbAndTableFilters(getDefaultCatalog(conf), req.getDb_name(), req.getTbl_name());
    if (processorCapabilities != null)
      req.setProcessorCapabilities(new ArrayList<>(Arrays.asList(processorCapabilities)));
    if (processorIdentifier != null)
      req.setProcessorIdentifier(processorIdentifier);
    List<Partition> parts = getPartitionsByNamesInternal(req).getPartitions();
    GetPartitionsByNamesResult res = new GetPartitionsByNamesResult();
    res.setPartitions(deepCopyPartitions(FilterUtils.filterPartitionsIfEnabled(
            isClientFilterEnabled, filterHook, parts)));
    return res;
  }
@deprecated Use {@link #getPartitionsByNames(GetPartitionsByNamesRequest)} instead
standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java