zeroshade commented on code in PR #431: URL: https://github.com/apache/iceberg-go/pull/431#discussion_r2132906545
########## table/update_schema.go: ########## @@ -0,0 +1,532 @@ +package table + +import ( + "github.com/apache/iceberg-go" +) + +type UpdateSchema struct { + base *Metadata + schema *iceberg.Schema + idToParent map[int]int + deletes []int + updates map[int]*iceberg.NestedField Review Comment: Do we need these to be pointers? Couldn't we just use `map[int]iceberg.NestedField`? We are also missing tracking moving a column and adding a new column (additions should be tracked separately from updates) -- 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