Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Airflow DB clean up DAG not working with recent versions #6531

Copy link
Copy link
Closed
@kosteev

Description

@kosteev
Issue body actions

In which file did you encounter the issue?

https://github.com/GoogleCloudPlatform/python-docs-samples/blob/9c71acbdf534defb400212ea68cf8359e3a3c4c3/composer/workflows/airflow_db_cleanup.py

Did you change the file? If so, how?

  • "age_check_column": DagModel.last_scheduler_run,
  • "age_check_column": DagModel.last_parsed_time,

Describe the issue

Starting from Airflow 2.0.2 last_scheduler_run column renamed into last_parsed_time in DagModel.
https://github.com/apache/airflow/blob/96656527fed515d8f39bbbec5d6a155faae2aaa2/CHANGELOG.txt#L369

Metadata

Metadata

Assignees

Labels

api: composerIssues related to the Cloud Composer API.Issues related to the Cloud Composer API.samplesIssues that are directly related to samples.Issues that are directly related to samples.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.