private String makeTermBy(String sep, String fieldName) {

    if (TempletonUtils.isset(sep))
      return String.format(" %s terminated by '%s'", fieldName, sep);
    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