Skip to content

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

Merged
potiuk merged 1 commit into
apache:mainfrom
claneys:fix/leading-character-kedaConnection
Jun 24, 2024
Merged

fix: trim leading // character using mysql backend#40401
potiuk merged 1 commit into
apache:mainfrom
claneys:fix/leading-character-kedaConnection

Conversation

@claneys

@claneys claneys commented Jun 24, 2024

Copy link
Copy Markdown
Contributor

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.

@boring-cyborg boring-cyborg Bot added the area:helm-chart Airflow Helm Chart label Jun 24, 2024
@claneys claneys force-pushed the fix/leading-character-kedaConnection branch from ebee0f3 to 46afc56 Compare June 24, 2024 10:04
@eladkal eladkal added this to the Airflow Helm Chart 1.15.0 milestone 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

Signed-off-by: Romain Forlot <romain.forlot@dailymotion.com>
@claneys claneys force-pushed the fix/leading-character-kedaConnection branch from 46afc56 to dbf1735 Compare June 24, 2024 13:55

@potiuk potiuk 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.

Yet another mysql "specialty"

@potiuk potiuk merged commit 906bc96 into apache:main Jun 24, 2024
@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 <romain.forlot@dailymotion.com>
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