Jibing-Li commented on code in PR #25603: URL: https://github.com/apache/doris/pull/25603#discussion_r1365586683
########## fe/fe-core/src/main/java/org/apache/doris/statistics/BaseAnalysisTask.java: ########## @@ -165,6 +164,7 @@ protected void init(AnalysisInfo info) { Preconditions.checkArgument(!StatisticsUtil.isUnsupportedType(col.getType()), String.format("Column with type %s is not supported", col.getType().toString())); } + tableSample = getTableSample(); Review Comment: Why move it here? This line should before line 155, otherwise, external table will failed to get table row count while sampling. -- 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