Loading...
Loading...
Compare original and translation side by side
list_dagsget_dag_sourceFROM target_tableJOIN target_table-- Snowflake
SELECT * FROM information_schema.view_table_usage
WHERE table_name = '<target_table>'
-- Or check SHOW VIEWS and search definitionsget_dag_sourcelist_dagsget_dag_sourceFROM target_tableJOIN target_table-- Snowflake
SELECT * FROM information_schema.view_table_usage
WHERE table_name = '<target_table>'
-- 或查看SHOW VIEWS并搜索定义get_dag_sourceSOURCE: fct.orders
|
+-- TABLE: agg.daily_sales --> Dashboard: Executive KPIs
| |
| +-- TABLE: rpt.monthly_summary --> Email: Monthly Report
|
+-- TABLE: ml.order_features --> Model: Demand Forecasting
|
+-- DIRECT: Looker Dashboard "Sales Overview"SOURCE: fct.orders
|
+-- TABLE: agg.daily_sales --> Dashboard: Executive KPIs
| |
| +-- TABLE: rpt.monthly_summary --> Email: Monthly Report
|
+-- TABLE: ml.order_features --> Model: Demand Forecasting
|
+-- DIRECT: Looker Dashboard "Sales Overview"ownersownersfct.ordersfct.orders +--> [agg.daily_sales] --> [Executive Dashboard]
|
[fct.orders] -------+--> [rpt.order_details] --> [Ops Team Email]
|
+--> [ml.features] --> [Demand Model] +--> [agg.daily_sales] --> [Executive Dashboard]
|
[fct.orders] -------+--> [rpt.order_details] --> [Ops Team Email]
|
+--> [ml.features] --> [Demand Model]| Downstream | Type | Criticality | Owner | Notes |
|---|---|---|---|---|
| agg.daily_sales | Table | Critical | data-eng | Updated hourly |
| Executive Dashboard | Dashboard | Critical | analytics | CEO views daily |
| ml.order_features | Table | High | ml-team | Retraining weekly |
| 下游对象 | 类型 | 关键程度 | 所有者 | 备注 |
|---|---|---|---|---|
| agg.daily_sales | 表 | 关键 | data-eng | 每小时更新 |
| Executive Dashboard | 仪表板 | 关键 | analytics | CEO每日查看 |
| ml.order_features | 表 | 高 | ml-team | 每周重新训练 |
| Change Type | Risk Level | Mitigation |
|---|---|---|
| Add column | Low | No action needed |
| Rename column | High | Update 3 DAGs, 2 dashboards |
| Delete column | Critical | Full migration plan required |
| Change data type | Medium | Test downstream aggregations |
| 变更类型 | 风险等级 | 缓解措施 |
|---|---|---|
| 添加列 | 低 | 无需操作 |
| 重命名列 | 高 | 更新3个DAG、2个仪表板 |
| 删除列 | 关键 | 需要完整的迁移计划 |
| 更改数据类型 | 中等 | 测试下游聚合 |
transform_daily_salestransform_daily_sales