Skip to content

Conversation

@dabla
Copy link
Contributor

@dabla dabla commented Feb 3, 2025

This PR fixes the case when all columns are also primary keys when generating the replace SQL statement for MS SQL.


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

@eladkal
Copy link
Contributor

eladkal commented Feb 5, 2025

@dabla
Copy link
Contributor Author

dabla commented Feb 5, 2025

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.

NICE!

@potiuk potiuk merged commit ddce845 into apache:main Feb 5, 2025
91 checks passed
insomnes pushed a commit to insomnes/airflow that referenced this pull request Feb 6, 2025
…eys (apache#46380)

* refactor: Fixed case when all columns are part of primary key when generated replace sql statement for MSSQL

* refactor: Reformatted TestMsSqlDialect

* refactor: Reformatted create_db_api_hook

---------

Co-authored-by: David Blain <david.blain@infrabel.be>
niklasr22 pushed a commit to niklasr22/airflow that referenced this pull request Feb 8, 2025
…eys (apache#46380)

* refactor: Fixed case when all columns are part of primary key when generated replace sql statement for MSSQL

* refactor: Reformatted TestMsSqlDialect

* refactor: Reformatted create_db_api_hook

---------

Co-authored-by: David Blain <david.blain@infrabel.be>
ambika-garg pushed a commit to ambika-garg/airflow that referenced this pull request Feb 17, 2025
…eys (apache#46380)

* refactor: Fixed case when all columns are part of primary key when generated replace sql statement for MSSQL

* refactor: Reformatted TestMsSqlDialect

* refactor: Reformatted create_db_api_hook

---------

Co-authored-by: David Blain <david.blain@infrabel.be>
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.

4 participants