private String makeRowFormat(TableDesc.RowFormatDesc desc) {
    String res =
      makeTermBy(desc.fieldsTerminatedBy, "fields")
        + makeTermBy(desc.collectionItemsTerminatedBy, "collection items")
        + makeTermBy(desc.mapKeysTerminatedBy, "map keys")
        + makeTermBy(desc.linesTerminatedBy, "lines");

    if (TempletonUtils.isset(res))
      return "row format delimited" + res;
    else if (desc.serde != null)
      return makeSerdeFormat(desc.serde);
    else
      return "";
  }
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