事件身份与归并
原能力
归并同一事件并保留原始身份、共同来源、重复记录及更正关系。(合同附件 R7 2.3)
首选项目
OpenRefine(BSD-3-Clause(主项目))。 OpenRefine
匹配范围
变体聚类及来源血缘辅助事件归并。
源码
OpenRefine · public class BinningClusterer
modules/core/src/main/java/com/google/refine/clustering/binning/BinningClusterer.java · 65–78 行。 在 GitHub 查看源码 · 许可证与声明
源码片段
public class BinningClusterer extends Clusterer {
public static class BinningClustererConfig extends ClustererConfig {
@JsonIgnore
private String _keyerName;
@JsonIgnore
private Keyer _keyer;
@JsonIgnore
private BinningParameters _parameters = null;
@JsonIgnore
public Keyer getKeyer() {
return _keyer;
- Copyright 2010, Google Inc.
- * Redistributions of source code must retain the above copyright
- copyright notice, this list of conditions and the following disclaimer
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
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
实现与验收要点
统一事件身份、共同原始出处、修订与人工确认。