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 query bug in next_run_datasets_summary endpoint #34143

Merged
merged 1 commit into from
Sep 6, 2023

Conversation

ephraimbuddy
Copy link
Contributor

The query to get the dataset_triggered_dag_ids in the next_run_datasets_summary endpoint errors with str object has no attribute dag_id. This issue is from a recent refactor on sqlalchemy queries and the view has no unit test to detect it. I added a fix with a unit test

The query to get the dataset_triggered_dag_ids in the next_run_datasets_summary endpoint
errors with `str` object has no attribute dag_id. This issue is from a recent refactor on
sqlalchemy queries and the view has no unit test to detect it.
I added a fix with a unit test
@boring-cyborg boring-cyborg bot added the area:webserver Webserver related Issues label Sep 6, 2023
@hussein-awala hussein-awala merged commit 79abcfa into apache:main Sep 6, 2023
@ephraimbuddy ephraimbuddy deleted the fix-query-bug branch September 7, 2023 07:30
@ephraimbuddy ephraimbuddy added this to the Airflow 2.7.2 milestone Oct 3, 2023
@ephraimbuddy ephraimbuddy added the type:bug-fix Changelog: Bug Fixes label Oct 3, 2023
ephraimbuddy added a commit that referenced this pull request Oct 5, 2023
The query to get the dataset_triggered_dag_ids in the next_run_datasets_summary endpoint
errors with `str` object has no attribute dag_id. This issue is from a recent refactor on
sqlalchemy queries and the view has no unit test to detect it.
I added a fix with a unit test

(cherry picked from commit 79abcfa)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:webserver Webserver related Issues type:bug-fix Changelog: Bug Fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants