This is a second attempt to resolve https://github.com/apache/iceberg/issues/10127 but avoids using java.net.URI for parsing, which was found to be problematic after the first attempt was merged.
Additionally I've refactored to minimize the number of lines changed and clarify the usage of the storageAccount variable, which was previously storing the endpoint host and now will only store the storage account name as the subdomain.
This is a second attempt to resolve https://github.com/apache/iceberg/issues/10127 but avoids using
java.net.URI
for parsing, which was found to be problematic after the first attempt was merged.Additionally I've refactored to minimize the number of lines changed and clarify the usage of the
storageAccount
variable, which was previously storing the endpoint host and now will only store the storage account name as the subdomain.