jbonofre commented on code in PR #12644:
URL: https://github.com/apache/iceberg/pull/12644#discussion_r2037907676


##########
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  
          |
+| required | required | optional | **`source-id`**  | `JSON int`          | 1  
          |
 |          |          | required | **`source-ids`** | `JSON list of ints` | 
`[1,2]`      |
 |          | required | required | **`field-id`**   | `JSON int`          | 
1000         |
 | required | required | required | **`name`**       | `JSON string`       | 
`id_bucket`  |
 | required | required | required | **`transform`**  | `JSON string`       | 
`bucket[16]` |
 
+Notes:
+
+1. For partition fields with a transform with a single argument, `source-id` 
can still be written.

Review Comment:
   Are we sure there ? Regarding the other discussion, writer should only write 
`source-ids` even with single value list.



-- 
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: issues-unsubscr...@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to