Skip to content

Conversation

@amoghrajesh
Copy link
Contributor

The mysql provider has few helper methods that demand user input, and since users can input table names, we need to take care of situations when a keyword tablename is passed, rare but possible. For ex: if "where" is a table :)


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

@amoghrajesh
Copy link
Contributor Author

cc @bugraoz93 as promised earlier :)

Copy link
Contributor

@bugraoz93 bugraoz93 left a comment

Choose a reason for hiding this comment

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

Thanks for the changes, @amoghrajesh! :) It looks good!

This is causing a problem if the table name is chosen the way MySQL doesn't like :D
Maybe we need to add the backtick to table names in the tests as well. It seems it is not finding the call

@amoghrajesh
Copy link
Contributor Author

Yep ill fix it later today!

@amoghrajesh
Copy link
Contributor Author

@potiuk could you take a look again?

@amoghrajesh amoghrajesh merged commit a37f6fe into apache:main Mar 4, 2025
59 checks passed
shahar1 pushed a commit to shahar1/airflow that referenced this pull request Mar 5, 2025
nailo2c pushed a commit to nailo2c/airflow that referenced this pull request Apr 4, 2025
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