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

Refactor ORM DAG insertion logic #42358

Merged
merged 2 commits into from
Sep 23, 2024
Merged

Conversation

uranusjr
Copy link
Member

Basically using the same pattern as the dataset inserts. Making fk relation updates more readable.

The SQL queries CAN be made more efficient, but I decided to keep things as-is (not worse than before). These are likely not that big a deal.

@boring-cyborg boring-cyborg bot added the area:Scheduler including HA (high availability) scheduler label Sep 20, 2024
Basically using the same pattern as the dataset inserts. Making fk
relation updates more readable.

The SQL queries CAN be made more efficient, but I decided to keep things
as-is (not worse than before). These are likely not that big a deal.
@Lee-W Lee-W merged commit 268a400 into apache:main Sep 23, 2024
51 checks passed
@Lee-W Lee-W deleted the refactor-orm-dag-add branch September 23, 2024 08:34
joaopamaral pushed a commit to joaopamaral/airflow that referenced this pull request Oct 21, 2024
* Refactor ORM DAG insertion logic

Basically using the same pattern as the dataset inserts. Making fk
relation updates more readable.

The SQL queries CAN be made more efficient, but I decided to keep things
as-is (not worse than before). These are likely not that big a deal.

* Use set operation for readability
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:Scheduler including HA (high availability) scheduler
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants