Apache Iceberg version
main (development)
Query engine
None
Please describe the bug 🐞
FileRange currently validates length() and offset() before assigning constructor parameters to fields. Because those getters return default field values at that point, negative constructor inputs can bypass validation.
This allows malformed ranges to propagate into vectored reads and trigger runtime failures.
Willingness to contribute
Apache Iceberg version
main (development)
Query engine
None
Please describe the bug 🐞
FileRangecurrently validateslength()andoffset()before assigning constructor parameters to fields. Because those getters return default field values at that point, negative constructor inputs can bypass validation.This allows malformed ranges to propagate into vectored reads and trigger runtime failures.
Willingness to contribute