manishmalhotrawork edited a comment on issue #280: Add persistent IDs to partition fields URL: https://github.com/apache/incubator-iceberg/issues/280#issuecomment-524733183 @rdblue thanks for the answer. Curios on the flow and as how fieldId are maintained in PartitionSpec vs Table Schema. Here [PartitionSpec is initialized](https://github.com/apache/incubator-iceberg/blob/master/api/src/main/java/org/apache/iceberg/PartitionSpec.java#L63) And fields are copied to partition spec, which also included original IDs assigned to fields. and in [partitionType method](https://github.com/apache/incubator-iceberg/blob/master/api/src/main/java/org/apache/iceberg/PartitionSpec.java#L113) where new fieldID is assigned ( 1000+) for the partitionFields and returns StructType with those fields. Not sure if Im missing something. So, why original fieldId and ids assigned in `partitionSpec` are different ? How the `partitionSpec` returned `StructType` with IDs as 1000+ is used?
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org