emkornfield commented on code in PR #9125:
URL: https://github.com/apache/iceberg/pull/9125#discussion_r1404503860


##########
format/spec.md:
##########
@@ -305,6 +305,10 @@ The source column, selected by id, must be a primitive 
type and cannot be contai
 
 Partition specs capture the transform from table data to partition values. 
This is used to transform predicates to partition predicates, in addition to 
transforming data values. Deriving partition predicates from column predicates 
on the table data is used to separate the logical queries from physical 
storage: the partitioning can change and the correct partition filters are 
always derived from column predicates. This simplifies queries because users 
don’t have to supply both logical predicates and partition predicates. For more 
information, see Scan Planning below.
 
+Two partition specs are considered compatible with each other if they have the 
same number of fields
+and for each corresponding field, the fields have the same source column ID, 
transform definition
+and partition name.  Writers must not create a new parition spec if there 
already exists a compatible partition

Review Comment:
   Fixed spacing.
   
   @rdblue I'm not sure if I understood this comment exactly.  I added a 
sentence below to capture not using a new partition field ids below (I'm not 
sure if this is what you were referring to or if the original text you believed 
was too broad).  If I didn't capture your intent would mind making some 
suggested edits?



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