Skip to content

Use dialect.name in custom SA types#33503

Merged
hussein-awala merged 2 commits into
apache:mainfrom
Taragolis:use-dialect-name
Aug 18, 2023
Merged

Use dialect.name in custom SA types#33503
hussein-awala merged 2 commits into
apache:mainfrom
Taragolis:use-dialect-name

Conversation

@Taragolis

Copy link
Copy Markdown
Contributor

When we use our custom SA types, we use global settings instead of sqlalchemy.engine.Dialect as result in some circumstances users might have performance degradation, see: #33172 (comment)

cc: @vchiapaikeo

closes: #33485


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

@hussein-awala
hussein-awala merged commit 46aa429 into apache:main Aug 18, 2023
@hussein-awala hussein-awala added this to the Airflow 2.7.1 milestone Aug 18, 2023
@hussein-awala hussein-awala added the type:bug-fix Changelog: Bug Fixes label Aug 18, 2023
@Taragolis
Taragolis deleted the use-dialect-name branch August 18, 2023 19:45
ephraimbuddy pushed a commit that referenced this pull request Aug 28, 2023
* Use `dialect.name` in custom SA types

* Fix removed import

(cherry picked from commit 46aa429)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type:bug-fix Changelog: Bug Fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SQL_ALCHEMY_CONN_CMD causes triggerers to fail liveness probes on peak

3 participants