zclllyybb commented on code in PR #31701: URL: https://github.com/apache/doris/pull/31701#discussion_r1514019231
########## fe/fe-common/src/main/java/org/apache/doris/catalog/Type.java: ########## @@ -814,6 +814,9 @@ public TColumnType toColumnTypeThrift() { * here is to avoid special-casing logic in callers for concrete types. */ public boolean matchesType(Type t) { + if (this.isArrayType() && t.isArrayType()) { Review Comment: override in ArrayTypep ########## fe/fe-common/src/main/java/org/apache/doris/catalog/Type.java: ########## @@ -814,6 +814,9 @@ public TColumnType toColumnTypeThrift() { * here is to avoid special-casing logic in callers for concrete types. */ public boolean matchesType(Type t) { + if (this.isArrayType() && t.isArrayType()) { Review Comment: override in ArrayType -- 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: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org