pankajastro commented on code in PR #74228:
URL: https://github.com/apache/airflow/pull/74228#discussion_r4207238516


##########
providers/common/sql/src/airflow/providers/common/sql/datafusion/object_storage_provider.py:
##########
@@ -124,6 +144,16 @@ def create_object_store(self, path: str, 
connection_config: ConnectionConfig | N
             credentials = connection_config.credentials
             container = self.get_bucket(path)
 
+            uri_account = self._get_uri_account(path)
+            resolved_account = credentials.get("account")
+            if uri_account and resolved_account and uri_account.lower() != 
resolved_account.lower():

Review Comment:
   Done — passes account=uri_account when the connection resolves none. Added 
test as well.



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