lisancao opened a new pull request, #74847:
URL: https://github.com/apache/airflow/pull/74847
<!-- PR title: Fix SparkConnectHook unsupported-path error message -->
`SparkConnectHook.get_connection_url` rejects a connection whose host
carries a URL path (Spark Connect URLs do not support one), but the message was
written without the `f` prefix, so users saw the literal text `Path {url.path}
is not supported in Spark Connect connection URL` instead of the path they
configured.
This adds the missing prefix and tightens the existing test to assert the
path appears in the message. No behaviour change beyond the message text.
---
##### Was generative AI tooling used to co-author this PR?
- [X] Yes (please specify the tool below)
Generated-by: Claude Code 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]