apache / apache/airflow

[Filters] Add filters to Search - Assets

Open
#53,052 11 comments 1 reaction 0 assignees View on GitHub
area:API area:UI good first issue kind:feature
Dominant language
Python
Stars
46.9k
Forks
17.8k
Avg merge
2d 10h
Merged PRs (30d)
483

Description

### View
Search – Assets

Image

### Filters to Add

- Filter by **Asset Group**
↪ Narrow results to a logical grouping of assets (e.g., `revenue_reporting`, `customer_metrics`)

- Filter by **Consuming DAG** and / or **Producing Task**
↪ Quickly locate assets by their upstream producer or downstream consumer

- Filter by **Last Event Timestamp (Range)**
↪ Identify stale or recently updated assets

- Filter by **Is Alias (Yes/No)**
↪ Distinguish between assets vs. placeholders

- Filter by **Has Events (Yes/No)**
↪ Distinguish between assets with active data lineage vs inactive definitions

### API Support

⚠️ Partial

- The `assets` API supports filtering by:
- `dag_id`, `task_id`, and sometimes `group`
- Currently lacks:
- Filtering by event presence (`has_events`)
- Range filtering by last event timestamp

### UI Impact

- Add a filter panel above the asset list table
- Useful in large deployments with hundreds or thousands of assets

### Notes

- Enables users to answer critical questions like:
- “What assets are stale?”
- “Which DAGs produce assets in this domain?”
- Especially helpful when debugging broken pipelines or validating asset freshness

Contributor guide

Open the contributing guide

Research direction

Start by tracing the assets API and the Search–Assets asset list table, then compare the requested filters with the API's existing dag_id, task_id, and group support. Done means the asset list has the requested filter panel and the missing event-presence and last-event-range filtering is supported consistently across the UI and API.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api, data-engineering, frontend, search
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.