jbonofre commented on code in PR #12644:
URL: https://github.com/apache/iceberg/pull/12644#discussion_r2037902209
##########
format/spec.md:
##########
@@ -1414,12 +1414,16 @@ Each partition field in `fields` is stored as a JSON
object with the following p
| V1 | V2 | V3 | Field | JSON representation |
Example |
|----------|----------|----------|------------------|---------------------|--------------|
-| required | required | omitted | **`source-id`** | `JSON int` | 1
|
Review Comment:
While starting the update of core, I think `source-ids` should be required.
The workflow would be:
1. For the reader:
1.1. We read `source-ids`
1.2. If `source-ids` is not present or null, we read `source-id` (for
backward compatibility)
2. For the writer:
2.1. We write only and always `source-ids` (`source-id` doesn't exist
anymore on new writer)
NB: `source-ids` is a JSON list of ints field, e.g. `[1,3,5]` for instance
(`source-id` is a int field as it's a single value field).
--
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]