ReguiguiMohamed commented on issue #2311:
URL: https://github.com/apache/iceberg-go/issues/2311#issuecomment-7312323459

   @ninglinLiu are you still on this one? If not, I have a fix ready and can 
open a PR.
   
   One thing about deriving the domain from the host: the location comes from 
table metadata, and with no `adls.endpoint` set the default Azure credential 
would follow it anywhere, so `abfss://[email protected]/...` would 
get the bearer token. `createServiceURL` skips the 
`azureblob.AllowedStorageDomains` check because the endpoint is operator 
config, and a derived one isn't.
   
   My version uses the derived domain only when it's in 
`AllowedStorageDomains`. That covers `chinacloudapi.cn` and 
`usgovcloudapi.net`, but OneLake isn't in the list, so it would still need 
`adls.endpoint`.
   
   @zeroshade would you rather add `blob.fabric.microsoft.com` to the allowed 
domains here, or keep OneLake on `adls.endpoint`?
   


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