zhjwpku opened a new pull request, #17106: URL: https://github.com/apache/iceberg/pull/17106
Float and double field defaults are stored in schema metadata using Iceberg's JSON single-value serialization. A NaN or +/-Infinity default can currently be set through NestedField default validation even though those values are not portable JSON numbers and cannot safely round-trip through metadata. Reject non-finite floating-point initial and write defaults during NestedField default validation so invalid defaults fail before schema metadata is written. -- 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]
