private String makeClusteredBy(TableDesc.ClusteredByDesc desc) {
    String res = String.format("(%s)", StringUtils.join(desc.columnNames, ", "));
    if (TempletonUtils.isset(desc.sortedBy))
      res += String.format(" sorted by (%s)", makeClusterSortList(desc.sortedBy));
    res += String.format(" into %s buckets", desc.numberOfBuckets);

    return res;
  }
Return a json "show table extended like" with extra info from "desc exteded"
This will return table with exact name match.
hcatalog/webhcat/svr/src/main/java/org/apache/hive/hcatalog/templeton/HcatDelegator.java