private static void constraintInfosToCheckConstraints(TableName tableName, List<ConstraintInfo> checkInfos,
      List<SQLCheckConstraint> checkConstraints) {
    for (ConstraintInfo checkInfo : checkInfos) {
      checkConstraints.add(new SQLCheckConstraint(tableName.getCat(), tableName.getDb(), tableName.getTable(),
          checkInfo.colName, checkInfo.defaultValue, checkInfo.constraintName, checkInfo.enable, checkInfo.validate,
          checkInfo.rely));
    }
  }
Process the unique constraints from the ast node and populate the SQLUniqueConstraint list.
ql/src/java/org/apache/hadoop/hive/ql/ddl/table/constraint/ConstraintsUtils.java