fallintoplace opened a new pull request, #2494:
URL: https://github.com/apache/iceberg-go/pull/2494

   ## What
   - Preserve exact 64-bit `long` values in schema JSON defaults.
   
   ## Why
   - Decoding JSON numbers as `float64` rounds values above 2^53 and changes 
the default.
   
   ## Implementation
   - Decode long literals as `int64` and reject invalid values.
   - Preserve numbers inside `write-default` expression objects.
   - Cover both defaults and schema JSON round-trips.
   
   ## References
   - [Iceberg spec: default 
values](https://iceberg.apache.org/spec/#default-values)
   - [Iceberg spec: expression 
JSON](https://github.com/apache/iceberg/blob/main/format/expressions-spec.md#value-expressions)
   - [Java 
`SingleValueParser`](https://github.com/apache/iceberg/blob/main/core/src/main/java/org/apache/iceberg/SingleValueParser.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]

Reply via email to