JingsongLi commented on code in PR #5270:
URL: https://github.com/apache/paimon/pull/5270#discussion_r1993062311


##########
paimon-core/src/main/java/org/apache/paimon/table/source/DataSplit.java:
##########
@@ -141,6 +144,48 @@ public long mergedRowCount() {
         return partialMergedRowCount();
     }
 
+    public Object minValue(DataField dataField) {
+        Object minValue = null;
+        for (DataFileMeta dataFile : dataFiles) {
+            int index =
+                    dataFile.valueStatsCols() == null
+                            ? dataField.id()

Review Comment:
   You should not use id, should also index of fieldNames.



-- 
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]

Reply via email to