apache/airflow

[Filters] Add filters to Search - Assets

开放

#53,052 创建于 2025年7月8日

 (10 条评论) (1 个反应) (0 位负责人)Python (16,781 个派生)batch import
area:APIarea:UIgood first issuekind:feature

仓库指标

星标
 (44,809 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

View

Search – Assets

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

贡献者指南