Skip to content

Commit

Permalink
API: Fix sizeBytes parameter of ScanTask (#11941)
Browse files Browse the repository at this point in the history
Co-authored-by: xiaosefeng <[email protected]>
  • Loading branch information
engraving-knife and xiaosefeng authored Jan 13, 2025
1 parent dc47b85 commit 95424ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/src/main/java/org/apache/iceberg/ScanTask.java
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

/**
Expand Down

0 comments on commit 95424ab

Please sign in to comment.