private void getCheckConstraintsInformation(StringBuilder constraintsInfo, CheckConstraint constraint) {
    formatOutput("Table:", constraint.getDatabaseName() + "." + constraint.getTableName(), constraintsInfo);
    Map<String, List<CheckConstraintCol>> checkConstraints = constraint.getCheckConstraints();
    if (MapUtils.isNotEmpty(checkConstraints)) {
      for (Map.Entry<String, List<CheckConstraintCol>> entry : checkConstraints.entrySet()) {
        getCheckConstraintRelInformation(constraintsInfo, entry.getKey(), entry.getValue());
      }
    }
  }
Formats DESC TABLE results to text format.
ql/src/java/org/apache/hadoop/hive/ql/ddl/table/info/desc/formatter/TextDescTableFormatter.java