nastra commented on code in PR #12226:
URL: https://github.com/apache/iceberg/pull/12226#discussion_r2002513794


##########
core/src/main/java/org/apache/iceberg/PartitionStats.java:
##########
@@ -78,7 +78,15 @@ public int equalityDeleteFileCount() {
     return equalityDeleteFileCount;
   }
 
+  /**
+   * @deprecated since 1.9.0, will be removed in 1.10.0, use {@link 
#totalRecords()} instead.
+   */
+  @Deprecated
   public long totalRecordCount() {
+    return totalRecordCount == null ? 0 : totalRecordCount;

Review Comment:
   ```suggestion
       return totalRecordCount == null ? 0L : totalRecordCount;
   ```



-- 
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: issues-unsubscr...@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to