[chore](add_partition) add some log to investigate problem (#24193)
This commit is contained in:
@ -819,7 +819,7 @@ public class Column implements Writable, GsonPostProcessable {
|
||||
return true;
|
||||
}
|
||||
|
||||
return name.equalsIgnoreCase(other.name)
|
||||
boolean ok = name.equalsIgnoreCase(other.name)
|
||||
&& Objects.equals(getDefaultValue(), other.getDefaultValue())
|
||||
&& Objects.equals(aggregationType, other.aggregationType)
|
||||
&& isAggregationTypeImplicit == other.isAggregationTypeImplicit
|
||||
@ -832,6 +832,21 @@ public class Column implements Writable, GsonPostProcessable {
|
||||
&& visible == other.visible
|
||||
&& Objects.equals(children, other.children)
|
||||
&& Objects.equals(realDefaultValue, other.realDefaultValue);
|
||||
|
||||
if (!ok) {
|
||||
LOG.info("this column: name {} default value {} aggregationType {} isAggregationTypeImplicit {} "
|
||||
+ "isKey {}, isAllowNull {}, datatype {}, strlen {}, precision {}, scale {}, visible {} "
|
||||
+ "children {} realDefaultValue {}",
|
||||
name, getDefaultValue(), aggregationType, isAggregationTypeImplicit, isKey, isAllowNull,
|
||||
getDataType(), getStrLen(), getPrecision(), getScale(), visible, children, realDefaultValue);
|
||||
LOG.info("other column: name {} default value {} aggregationType {} isAggregationTypeImplicit {} "
|
||||
+ "isKey {}, isAllowNull {}, datatype {}, strlen {}, precision {}, scale {}, visible {} "
|
||||
+ "children {} realDefaultValue {}",
|
||||
other.name, other.getDefaultValue(), other.aggregationType, other.isAggregationTypeImplicit,
|
||||
other.isKey, other.isAllowNull, other.getDataType(), other.getStrLen(), other.getPrecision(),
|
||||
other.getScale(), other.visible, other.children, other.realDefaultValue);
|
||||
}
|
||||
return ok;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user