morrySnow commented on code in PR #38492: URL: https://github.com/apache/doris/pull/38492#discussion_r1696289202
########## fe/fe-core/src/main/java/org/apache/doris/analysis/AlterColumnStatsStmt.java: ########## @@ -134,6 +134,10 @@ public void analyze(Analyzer analyzer) throws UserException { throw new AnalysisException(optional.get() + " is invalid statistics"); } + if (!properties.containsKey(StatsType.ROW_COUNT.getValue())) { + throw new AnalysisException("Must set row_count"); Review Comment: add a more formal error msg? hint how to add row count -- 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