jnagel12 opened a new pull request, #629:
URL: https://github.com/apache/iceberg-go/pull/629

   ## Description
   This PR implements full support for updating Iceberg views for the REST 
catalog
   
   ## Changes
   - Implements an `UpdateView` method on the REST catalog
   - Implements `view.MetadataBuilder` to generate updates for use in 
`UpdateView` on the REST catalog
     - I did my best to blend the style of the existing codebase and use 
idiomatic Go, while still being faithful to the Java reference code
     - I transcribed every applicable unit test from the Java 
`ViewMetadataBuilder` tests to validate behavior
   - Refactors the existing state of the `view` package substantially
     - I apologize for the diff here, I was working off of a fork for a few 
weeks and had not previously seen the recent additions to view metadata 
support. Did my best to reconcile them
   - Refactors the REST catalog `CreateView` method to take variadic 
`CreateViewOpt`s and now return a `view.View`, similar to the behavior of the 
`CreateTable` method
   - Added unit and integration tests to the `rest` package to cover the new 
changes to the REST view methods
   - Small refactor to extract `sliceEqualHelper` from `table/metadata.go` to 
`internal/utils.go` for use in the `view` package
   - Refactors the CreateMetadata function used by the SQL catalog to return a 
`*View`, and extract the location from it


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