englefly commented on code in PR #12987: URL: https://github.com/apache/doris/pull/12987#discussion_r990580515
########## fe/fe-core/src/main/java/org/apache/doris/analysis/SlotDescriptor.java: ########## @@ -219,7 +219,7 @@ public ColumnStats getStats() { } } // FIXME(dhc): mock ndv - stats.setNumDistinctValues(parent.getCardinality()); + stats.setNumDistinctValues((long) parent.getCardinality()); Review Comment: getCardinality() return type is already 'long' -- 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