This is an automated email from the ASF dual-hosted git repository.
fokko pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/iceberg.git
The following commit(s) were added to refs/heads/main by this push:
new 95424abc6c API: Fix `sizeBytes` parameter of `ScanTask` (#11941)
95424abc6c is described below
commit 95424abc6ca98dfa164c5fc0ec055a9d2c3b7964
Author: feng xiaohang <[email protected]>
AuthorDate: Mon Jan 13 20:10:51 2025 +0800
API: Fix `sizeBytes` parameter of `ScanTask` (#11941)
Co-authored-by: xiaosefeng <[email protected]>
---
api/src/main/java/org/apache/iceberg/ScanTask.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/api/src/main/java/org/apache/iceberg/ScanTask.java
b/api/src/main/java/org/apache/iceberg/ScanTask.java
index c55d1620f6..aa564f6e35 100644
--- a/api/src/main/java/org/apache/iceberg/ScanTask.java
+++ b/api/src/main/java/org/apache/iceberg/ScanTask.java
@@ -28,7 +28,7 @@ public interface ScanTask extends Serializable {
* @return the total number of bytes to read
*/
default long sizeBytes() {
- return 4 * 1028 * 1028; // 4 MB
+ return 4 * 1024 * 1024; // 4 MB
}
/**