laskoviymishka opened a new issue, #1009:
URL: https://github.com/apache/iceberg-go/issues/1009

   Parent: #589
   
   Storage for `partition-statistics` already exists in metadata, and 
`Metadata.PartitionStatistics()` exposes the iterator, but no `Update` types 
let users mutate the list. PR #902 added `SetStatisticsUpdate` / 
`RemoveStatisticsUpdate` for the (non-partition) statistics list — the same 
shape applies here.
   
   Add `setPartitionStatisticsUpdate` and `removePartitionStatisticsUpdate` in 
`table/updates.go`, builder methods on `MetadataBuilder`, and wire them into 
`Updates.UnmarshalJSON` so REST catalogs round-trip the new update types. 
Mirror #902's structure exactly — `NewSetPartitionStatisticsUpdate` / 
`NewRemovePartitionStatisticsUpdate` constructors and `Apply(builder)` methods.
   
   Test pattern: round-trip via `UpdateTableMetadata`, mirroring 
`TestStatisticsUpdate*` from #902. JSON round-trip + apply-and-read-back 
coverage.


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