cruseakshay opened a new pull request, #77666:
URL: https://github.com/apache/airflow/pull/77666

   # Summary
   Moves `AzureObjectStorageProvider` from common-sql into the microsoft.azure 
provider. This is the third and last provider move, after S3 
(apache/airflow#64941) and GCS (apache/airflow#77621). Local storage stays in 
common-sql, so `EMBEDDED_PROVIDERS` now holds only `LOCAL`.
   
   - The class now lives in 
`airflow.providers.microsoft.azure.datafusion.object_storage` and is registered 
under `object-storage-providers` (storage-type `azure`).
   - It now resolves its own credentials from the `wasb` connection. Field 
lookups, including the legacy `extra__wasb__*` spellings, go through 
`WasbHook._get_field`. Explicit `ConnectionConfig.credentials` still take 
precedence. Any connection that isn't `wasb` raises `ValueError("Unknown 
connection type ...")` before the hook or store is built.
   - The unsupported-field checks, the service-principal and SAS checks, the 
conflicting `AZURE_*` env-var guard and the account/host validation behave as 
before.
   - common-sql: the engine no longer resolves credentials for any storage 
type. The registry install hint, the legacy fallback for older cores and the 
deprecation shim now cover Azure. A new `microsoft.azure` extra is added, and 
the changelog note now also mentions Azure.
   - microsoft.azure: new `datafusion` extra and dev-group entry. 
`get_provider_info.py`, both `docs/index.rst` tables and `uv.lock` are 
regenerated.
   
   **Behaviour change:** credential and connection errors for Azure sources 
(unknown connection type, unsupported or partial credential fields, conflicting 
`AZURE_*` env vars, non-public hosts in the connection) are now raised inside 
`create_object_store`. They now surface from 
`DataFusionEngine.register_datasource` as `ObjectStoreCreationException` 
instead of `ValueError`. This matches the S3 and GCS moves and is documented in 
the common-sql changelog.
   
   Old import path 
`airflow.providers.common.sql.datafusion.object_storage_provider.AzureObjectStorageProvider`
 still works and emits `AirflowProviderDeprecationWarning`.
   
   ##### Was generative AI tooling used to co-author this PR?
   
   - [X] Yes (please specify the tool below)
   
   Generated-by: Claude Code (Opus 5.5) following [the 
guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions)


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

Reply via email to