@Override
  public Table getTable(GetTableRequest getTableRequest) throws TException {
    long t1 = System.currentTimeMillis();

    try {
      getTableRequest.setCapabilities(version);
      if (processorCapabilities != null)
        getTableRequest.setProcessorCapabilities(new ArrayList<String>(Arrays.asList(processorCapabilities)));
      if (processorIdentifier != null)
        getTableRequest.setProcessorIdentifier(processorIdentifier);

      Table t = getTableInternal(getTableRequest).getTable();
      executePostGetTableHook(t);
      return deepCopy(FilterUtils.filterTableIfEnabled(isClientFilterEnabled, filterHook, t));
    } finally {
      long diff = System.currentTimeMillis() - t1;
      if (LOG.isDebugEnabled()) {
        LOG.debug("class={}, method={}, duration={}, comments={}", CLASS_NAME, "getTable",
            diff, "HMS client");
      }
    }
  }
@deprecated use getTable(GetTableRequest getTableRequest)
@param catName catalog the table is in.
@param dbName database the table is in.
@param tableName table name.
@param validWriteIdList applicable snapshot
@param getColumnStats get the column stats, if available, when true
@param engine engine sending the request
@return
@throws TException
standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java