BiteTheDDDDt commented on code in PR #18203: URL: https://github.com/apache/doris/pull/18203#discussion_r1151855156
########## fe/fe-core/src/main/java/org/apache/doris/catalog/MaterializedIndexMeta.java: ########## @@ -215,13 +220,14 @@ public static boolean matchColumnName(String lhs, String rhs) { return normalizeName(lhs).equalsIgnoreCase(normalizeName(rhs)); } + public Column getColumnByDefineName(String colDefineName) { + String normalizedName = normalizeName(colDefineName); + return definedNameToColumn.getOrDefault(normalizedName, null); + } + public Column getColumnByName(String columnName) { Review Comment: matchColumnName compare name with ignore case, maybe we need add String.CASE_INSENSITIVE_ORDER to map? -- 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