MickaelBZH opened a new pull request, #526: URL: https://github.com/apache/iceberg-go/pull/526
Support Azure URLs in the format `abfs://[email protected]/path` commonly used by REST catalogs like Polaris, while maintaining backward compatibility with existing URL formats. Changes: - Add parseAzureURL() function to extract container and account names from URLs - Update createAzureBucket() to use extracted container name instead of raw host - Modify inferFileIOFromSchema() to pass correct bucket name to createBlobFS() - Support automatic account name extraction from URLs when not provided in properties Supported URL formats: - abfs://[email protected]/path (NEW) - abfs://account.dfs.core.windows.net/container/path (existing) - abfs://container/path (existing) This enables seamless integration with REST catalogs that provide Azure URLs with embedded container names, fixing URL parsing issues that previously resulted in "InvalidResourceName" errors. Fixes: Azure URL parsing for REST catalog integration -- 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]
