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

   `Transaction.ExpireSnapshots` now takes a `context.Context` first and 
`ExpireSnapshotsWithContext`, added in #2601, is removed. The old method only 
forwarded `context.Background()` to the twin, so this folds them into one. The 
context still controls the full-history request on refs-only REST tables; 
expiration, retries and that request are otherwise unchanged. Callers in 
`cmd/iceberg` and the tests pass the context they already have, or 
`t.Context()`, and `api.md` and the release notes are updated, with a 
compatibility note for the migration.
   
   Checked with `go build ./...`, `go vet ./...` and the tests for `table`, 
`catalog/sql`, `catalog/rest` and `cmd/iceberg`. The existing ctx tests in 
`rest_test.go` and `expire_replay_test.go` still cover the context reaching the 
history request.
   
   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]

Reply via email to