private void writeBasicInfo(DataOutputStream out, Table table) throws IOException, UnsupportedEncodingException {
    out.write(("tableName:" + table.getTableName()).getBytes(StandardCharsets.UTF_8));
    out.write(Utilities.newLineCode);
    out.write(("owner:" + table.getOwner()).getBytes(StandardCharsets.UTF_8));
    out.write(Utilities.newLineCode);
  }
Formats SHOW TABLE STATUS commands to text format.
ql/src/java/org/apache/hadoop/hive/ql/ddl/table/info/show/status/formatter/TextShowTableStatusFormatter.java