laskoviymishka opened a new pull request, #2635: URL: https://github.com/apache/iceberg-go/pull/2635
`blobfs.New` now returns a `blobfs.FileIO` interface instead of a struct embedding `*blob.Bucket`, so gocloud methods are no longer reachable from the return value. The interface lists the iceberg-go io interfaces the struct already implemented, plus `io.Closer`, since callers and the REST catalog close the IO. The struct is unexported and still embeds the bucket, following the shape on the issue. `NewWriter`, `Writer` and `gcs.ParseGCSConfig` exposed gocloud types and had no outside callers, so they are unexported too. `blobfs.New` still takes a `*blob.Bucket`; that stays as is. There is no behavior change and no new tests. The compile-time assertions in blobfs and the hadoop catalog cover the new interface, and the azure and REST tests were moved to it. apidiff on blobfs and gcs reports only the `FileIO`/`New` type change and the removal of `Writer` and `ParseGCSConfig`. A compatibility note is added to releases.md. Part of #2062. AI-assisted, reviewed by a human. -- 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]
