deniskuzZ commented on code in PR #6074:
URL: https://github.com/apache/hive/pull/6074#discussion_r2358383122
##########
ql/src/java/org/apache/hadoop/hive/ql/ddl/table/constraint/ConstraintsUtils.java:
##########
@@ -66,22 +66,26 @@ private ConstraintsUtils() {
throw new UnsupportedOperationException("ConstraintsUtils should not be
instantiated!");
}
- private static class ConstraintInfo {
+ public static class ConstraintInfo {
final String colName;
final String constraintName;
final boolean enable;
final boolean validate;
final boolean rely;
final String defaultValue;
+ final TypeInfo columnType;
+ final TypeInfo defaultValueType;
ConstraintInfo(String colName, String constraintName, boolean enable,
boolean validate, boolean rely,
- String defaultValue) {
+ String defaultValue, TypeInfo columnType, TypeInfo defaultValueType) {
Review Comment:
could we put `columnType` after `colName`?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]