rdblue commented on code in PR #18405:
URL: https://github.com/apache/iceberg/pull/18405#discussion_r4211905258


##########
format/spec.md:
##########
@@ -1169,6 +1189,7 @@ Table metadata consists of the following fields:
     | _optional_ | _optional_ | _optional_ | **`partition-statistics`**  | A 
list (optional) of [partition statistics](#partition-statistics). |
     |            |            | _required_ | **`next-row-id`**           | A 
`long` higher than all assigned row IDs; the next snapshot’s `first-row-id`. 
See [Row Lineage](#row-lineage). |
     |            |            | _optional_ | **`encryption-keys`**       | A 
list (optional) of [encryption keys](#encryption-keys) used for table 
encryption. |
+    |            |            | _optional_ | **`stats-only-fields`**     | A 
list (optional) of [stats-only fields](#stats-only-fields) used to track stats 
for derived values. |

Review Comment:
   @pvary, the expressions spec was adopted. Here's the [vote 
thread](https://lists.apache.org/thread/6wfmjhgthlykwbk3f7df4zgcm40xtm2o).
   
   @stevenzwu, for v3 it's up to writers. Because we use maps that are copied 
without modification, a writer that adds stats-only fields is sufficient. We 
would also not need to update Appendix E because this is a forward-compatible 
change that is not gated by a format version. Appendix E is where we detail the 
breaking changes that readers and writers need to know about.



-- 
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