You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "moomindani (via GitHub)" <gi...@apache.org> on 2026/07/02 04:59:16 UTC
Re: [PR] Fix DatabricksSqlHook sqlalchemy_url to include http_path from connection extra [airflow]
moomindani commented on code in PR #69037:
URL: https://github.com/apache/airflow/pull/69037#discussion_r3510566650
##########
providers/databricks/src/airflow/providers/databricks/hooks/databricks_sql.py:
##########
@@ -255,7 +261,7 @@ def sqlalchemy_url(self) -> URL:
)
url_query = {
- "http_path": self._http_path,
+ "http_path": self._resolve_http_path(),
Review Comment:
This line makes `sqlalchemy_url` (a property) perform a REST API call when the hook is configured via `sql_endpoint_name` — see the review body for the failing chain through `dialect_name`/`insert_rows`. Please resolve only from local sources (explicit param, cached value, connection extra) here.
---
Drafted-by: Claude Code (Fable 5); reviewed by @moomindani before posting
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org