zhangstar333 commented on code in PR #59123:
URL: https://github.com/apache/doris/pull/59123#discussion_r2638859221


##########
fe/fe-core/src/main/java/org/apache/doris/datasource/iceberg/source/IcebergScanNode.java:
##########
@@ -330,6 +337,9 @@ public TableScan createTableScan() throws UserException {
 
         TableScan scan = icebergTable.newScan().metricsReporter(new 
IcebergMetricsReporter());
 
+        if (getPushDownAggNoGroupingOp() == TPushAggOp.MINMAX) {
+            scan = scan.includeColumnStats();

Review Comment:
   if not call includeColumnStats() functions.
   the filetask of data file will not have any column statistics infos.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to