This is an automated email from the ASF dual-hosted git repository.
morrysnow pushed a commit to branch 2.0.1-rc04-patch
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/2.0.1-rc04-patch by this push:
new a1057c3fe3 [chore](add_partition) add some log to investigate problem
a1057c3fe3 is described below
commit a1057c3fe3d17c54a7bd6ba151ddd52ddca6b5c9
Author: Yongqiang YANG <[email protected]>
AuthorDate: Wed Sep 20 11:11:17 2023 +0800
[chore](add_partition) add some log to investigate problem
---
.../src/main/java/org/apache/doris/catalog/Column.java | 17 ++++++++++++++++-
1 file changed, 16 insertions(+), 1 deletion(-)
diff --git a/fe/fe-core/src/main/java/org/apache/doris/catalog/Column.java
b/fe/fe-core/src/main/java/org/apache/doris/catalog/Column.java
index bfb26aad40..650e24d92c 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/catalog/Column.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/catalog/Column.java
@@ -818,7 +818,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
@@ -831,6 +831,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
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]