Skip to content

Fix SqlAlchemy URI Construction in ExasolHook - #53798

Merged
potiuk merged 6 commits into
apache:mainfrom
BrianLii:issue-38195-exasol
Sep 12, 2025
Merged

Fix SqlAlchemy URI Construction in ExasolHook #53798
potiuk merged 6 commits into
apache:mainfrom
BrianLii:issue-38195-exasol

Conversation

@BrianLii

@BrianLii BrianLii commented Jul 27, 2025

Copy link
Copy Markdown
Contributor

Related: #38195

Why

The current implementation of URI construction in ExasolHook does not return the correct SQLAlchemy driver name.

What

This PR adds support for a sqlalchemy_scheme parameter, enabling users to explicitly define the driver to be used in the SQLAlchemy URI.

This behavior is consistent with other hooks like MsSqlHook, which already provide a similar option.


@eladkal
eladkal requested a review from jason810496 September 1, 2025 03:15
@BrianLii
BrianLii marked this pull request as ready for review September 2, 2025 15:06

@jason810496 jason810496 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! Thanks for the PR!

@potiuk
potiuk merged commit 39022e0 into apache:main Sep 12, 2025
138 checks passed
suman-himanshu pushed a commit to suman-himanshu/airflow that referenced this pull request Sep 17, 2025
* feat: implement sqlalchemy_scheme

* feat: implement sqlalchemy url and unit test

* refactor: move sqlalchemy scheme test to separate class

* refactor: refactor unit test

* feat: add test for get_uri
Brunda10 pushed a commit to Brunda10/airflow that referenced this pull request Sep 17, 2025
* feat: implement sqlalchemy_scheme

* feat: implement sqlalchemy url and unit test

* refactor: move sqlalchemy scheme test to separate class

* refactor: refactor unit test

* feat: add test for get_uri
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants