private void getCheckConstraintRelInformation(StringBuilder constraintsInfo, String constraintName,
      List<CheckConstraintCol> columns) {
    formatOutput("Constraint Name:", constraintName, constraintsInfo);
    if (CollectionUtils.isNotEmpty(columns)) {
      for (CheckConstraintCol column : columns) {
        String[] fields = new String[2];
        fields[0] = "Column Name:" + column.getColName();
        fields[1] = "Check Value:" + column.getCheckExpression();
        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