状态变化的影响传播
原能力
依据实际依赖传播状态变化,仅重算受影响结果并保留传播过程。(合同附件 R7 5.4)
首选项目
OpenLineage(Apache-2.0)。 OpenLineage
匹配范围
数据血缘和拓扑遍历找出受影响结果。
源码
OpenLineage · class RunEvent
client/python/src/openlineage/client/run.py · 102–115 行。 在 GitHub 查看源码 · 许可证与声明
源码片段
class RunEvent(RedactMixin):
eventType: RunState = attr.ib(validator=attr.validators.in_(list(RunState))) # noqa: N815
eventTime: str = attr.ib() # noqa: N815
run: Run = attr.ib()
job: Job = attr.ib()
producer: str = attr.ib()
inputs: list[Dataset] | None = attr.ib(factory=list)
outputs: list[Dataset] | None = attr.ib(factory=list)
schemaURL: str = attr.ib(default=SCHEMA_URL) # noqa: N815
_skip_redact: ClassVar[list[str]] = ["eventType", "eventTime", "producer", "schemaURL"]
@eventTime.validator
def check(self, attribute: str, value: str) -> None: # noqa: ARG002
- # Copyright 2018-2026 contributors to the OpenLineage project
- # SPDX-License-Identifier: Apache-2.0
NetworkX · def descendants(
networkx/algorithms/dag.py · 36–49 行。 在 GitHub 查看源码 · 许可证与声明
源码片段
def descendants(G, source):
"""Returns all nodes reachable from `source` in `G`.
Parameters
----------
G : NetworkX Graph
source : node in `G`
Returns
-------
set()
The descendants of `source` in `G`
Raises
实现与验收要点
实际读写依赖、局部重算、状态失效和失败重试。