fallintoplace opened a new pull request, #2493: URL: https://github.com/apache/iceberg-go/pull/2493
## What - Decode old 4-byte `int` and `float` bounds as `long` and `double`. ## Why - Schema promotion keeps existing bounds in their original encoding. Go currently expects 8 bytes and can fail while pruning files. ## Implementation - Widen 4-byte values and keep the existing checks for other lengths. - Cover literal, manifest, and file metrics. ## References - [Iceberg spec: schema evolution and bound lengths](https://iceberg.apache.org/spec/#schema-evolution) - [Java `Conversions.fromByteBuffer`](https://github.com/apache/iceberg/blob/main/api/src/main/java/org/apache/iceberg/types/Conversions.java) -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
