nastra commented on code in PR #19143:
URL: https://github.com/apache/iceberg/pull/19143#discussion_r4707755290
##########
core/src/test/resources/TableMetadataV3NonFiniteDefaults.json:
##########
@@ -0,0 +1,202 @@
+{
+ "format-version": 3,
+ "table-uuid": "b42cb96f-6bb6-44b5-9079-4822748e26c4",
+ "location": "/db/t",
+ "last-sequence-number": 0,
+ "last-updated-ms": 1795605542048,
+ "last-column-id": 9,
+ "current-schema-id": 2,
+ "schemas": [
+ {
+ "type": "struct",
+ "schema-id": 0,
+ "fields": [
+ {
+ "id": 1,
+ "name": "id",
+ "required": true,
+ "type": "long"
+ }
+ ]
+ },
+ {
+ "type": "struct",
+ "schema-id": 1,
+ "fields": [
+ {
+ "id": 1,
+ "name": "id",
+ "required": true,
+ "type": "long"
+ },
+ {
+ "id": 2,
+ "name": "f_nan",
+ "required": false,
+ "type": "float",
+ "initial-default": "NaN",
Review Comment:
can we have an actual Java write adding those different initial/write
defaults instead of hardcoding them into a metadata json?
--
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]