Chinmay1220 opened a new pull request, #68344: URL: https://github.com/apache/airflow/pull/68344
Fixes #40410. This updates the ADLS ObjectStoragePath filesystem adapter to pass `account_name` to `adlfs.AzureBlobFileSystem` instead of an `account_url` keyword. `adlfs` requires `account_name`, and the previous logic could derive the account from `login`, which breaks ADLS V2 service principal connections where `login` is the client ID and `host` is the storage account name. Changes: - infer account name from `host` for `adls` connections while preserving the existing login fallback for legacy `wasb`-style connections - add unit coverage for ADLS V2 service principal connections with plain account-name and DNS host values - document ADLS ObjectStoragePath URL formats and connection fields Tests: - `python -m ruff check providers\microsoft\azure\src\airflow\providers\microsoft\azure\fs\adls.py providers\microsoft\azure\tests\unit\microsoft\azure\fs\test_adls.py` - `python -m ruff format --check providers\microsoft\azure\src\airflow\providers\microsoft\azure\fs\adls.py providers\microsoft\azure\tests\unit\microsoft\azure\fs\test_adls.py` - `python -m py_compile providers\microsoft\azure\src\airflow\providers\microsoft\azure\fs\adls.py providers\microsoft\azure\tests\unit\microsoft\azure\fs\test_adls.py` -- 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]
