private void getUniqueConstraintRelInformation(StringBuilder constraintsInfo, String constraintName,
      List<UniqueConstraintCol> columns) {
    formatOutput("Constraint Name:", constraintName, constraintsInfo);
    if (CollectionUtils.isNotEmpty(columns)) {
      for (UniqueConstraintCol column : columns) {
        String[] fields = new String[2];
        fields[0] = "Column Name:" + column.colName;
        fields[1] = "Key Sequence:" + column.position;
        formatOutput(fields, constraintsInfo);
      }
    }
    constraintsInfo.append(LINE_DELIM);
  }
Formats DESC TABLE results to text format.
ql/src/java/org/apache/hadoop/hive/ql/ddl/table/info/desc/formatter/TextDescTableFormatter.java