laskoviymishka opened a new pull request, #2731: URL: https://github.com/apache/iceberg-go/pull/2731
`dynamodb.NewCatalog` was the only built-in catalog constructor whose variadic was an AWS SDK type. It now takes `...dynamodb.Option` like glue, hadoop, hive, rest and sql, and `WithClientOptions` passes the SDK client options through as before. The `dynamodb.endpoint` property still wins over an endpoint set that way. The point is to let #2718 add `WithIORegistry` later as a purely additive change. Calls without a variadic compile unchanged, so the registrar, the CLI and the existing tests need no edits. Migration is `NewCatalog(ctx, n, cfg, props, fn)` to `NewCatalog(ctx, n, cfg, props, dynamodb.WithClientOptions(fn))`, noted in releases.md. A new unit test points the client at an httptest server through `WithClientOptions` and checks that the endpoint property still takes precedence. 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]
