Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: trim leading // character using mysql backend #40401

Merged
merged 1 commit into from
Jun 24, 2024

Conversation

claneys
Copy link
Contributor

@claneys claneys commented Jun 24, 2024

Using mysql backend needs to compute a connection string without scheme which using the urlJoin templating function left the // characters at the beginning of the string. This PR trim those characters to get a correct mysql connection string.


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

Using mysql backend needs to compute a connection string without scheme which using the urlJoin templating function
left the // characters at the beginning of the string

Signed-off-by: Romain Forlot <[email protected]>
@claneys claneys force-pushed the fix/leading-character-kedaConnection branch from 46afc56 to dbf1735 Compare June 24, 2024 13:55
Copy link
Member

@potiuk potiuk left a comment

Choose a reason for hiding this comment

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

Yet another mysql "specialty"

@potiuk potiuk merged commit 906bc96 into apache:main Jun 24, 2024
66 checks passed
@utkarsharma2 utkarsharma2 added the changelog:skip Changes that should be skipped from the changelog (CI, tests, etc..) label Jul 1, 2024
romsharon98 pushed a commit to romsharon98/airflow that referenced this pull request Jul 26, 2024
Using mysql backend needs to compute a connection string without scheme which using the urlJoin templating function
left the // characters at the beginning of the string

Signed-off-by: Romain Forlot <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:helm-chart Airflow Helm Chart changelog:skip Changes that should be skipped from the changelog (CI, tests, etc..)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants