ReguiguiMohamed opened a new pull request, #2814: URL: https://github.com/apache/iceberg-go/pull/2814
Fixes #2311 When `adls.endpoint` isn't set, the blob client always used `blob.core.windows.net`, so tables in OneLake or a sovereign cloud failed. The domain now comes from the location's host (`dfs.` becomes `blob.`), but only when it's in `azureblob.AllowedStorageDomains` or is `blob.fabric.microsoft.com`, as agreed in the issue. The host comes from table metadata, so the credential never goes to an unknown domain. An explicit `adls.endpoint` still wins. The new test checks the host the request goes to for public Azure, China, US Gov, OneLake, an unknown domain and an explicit endpoint. `go test ./io/gocloud/azure/` passes. -- 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]
