starocean999 commented on code in PR #49278: URL: https://github.com/apache/doris/pull/49278#discussion_r2020753326
########## fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/commands/AlterColumnStatsCommand.java: ########## @@ -177,8 +179,7 @@ private void checkPartitionAndColumn(ConnectContext ctx) throws UserException { indexId = idxId; } - Column column = table.getColumn(columnName); - if (column == null || !column.getName().equals(columnName)) { + if (table.getColumn(columnName) == null) { Review Comment: keep the code like old stmt like https://github.com/apache/doris/pull/48812 -- 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