Skip to content

Fix query bug in next_run_datasets_summary endpoint - #34143

Merged
hussein-awala merged 1 commit into
apache:mainfrom
astronomer:fix-query-bug
Sep 6, 2023
Merged

Fix query bug in next_run_datasets_summary endpoint#34143
hussein-awala merged 1 commit into
apache:mainfrom
astronomer:fix-query-bug

Conversation

@ephraimbuddy

Copy link
Copy Markdown
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
@hussein-awala
hussein-awala merged commit 79abcfa into apache:mainSep 6, 2023
@ephraimbuddy
ephraimbuddy deleted the fix-query-bug branch September 7, 2023 07:30
@ephraimbuddyephraimbuddy added this to the Airflow 2.7.2 milestone Oct 3, 2023
@ephraimbuddyephraimbuddy 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 freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:webserverWebserver related Issuestype:bug-fixChangelog: Bug Fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@ephraimbuddy@Taragolis@hussein-awala