morrySnow commented on code in PR #3997:
URL: https://github.com/apache/doris-website/pull/3997#discussion_r3602514012
##########
i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-statements/data-governance/data-lineage.md:
##########
@@ -0,0 +1,336 @@
+---
+{
+ "title": "数据血缘原理与使用",
Review Comment:
这个为什么在sql操作手册下面呢?可能放在 `docs/data-governance` 下比较合适?
##########
i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-statements/data-governance/data-lineage.md:
##########
@@ -0,0 +1,336 @@
+---
+{
+ "title": "数据血缘原理与使用",
+ "sidebar_label": "数据血缘",
+ "language": "zh-CN",
+ "description": "介绍 Apache Doris 数据血缘的采集原理、事件内容、支持范围、插件部署、FE
配置、队列行为、运维排障和完整 SQL 示例,帮助用户理解并验证表级、列级以及直接和间接血缘关系。",
+ "keywords": ["Apache Doris", "数据血缘", "数据治理", "LineagePlugin", "列级血缘"]
+}
+---
+
+<!-- 知识类型: 功能概述 + 技术设计 + 用户手册 -->
+<!-- 适用场景: 数据治理系统集成 / 影响分析 / 合规追溯 -->
+
+数据血缘功能可以从 Doris 支持的 DML 语句中提取表级和列级依赖,并通过 `LineagePlugin` 发送到外部治理系统。Doris
是血缘生产者,不保存事件、不提供血缘查询 API,也不提供血缘可视化。
+
+> 该功能在 Dev 版本中可用,首次发布于 Apache Doris 4.0.6。
+
+## 能力和限制
+
+框架只会在以下语句成功后生成事件:
+
+| 支持的语句 | 事件行为 |
+| --- | --- |
+| `INSERT INTO ... SELECT` | Insert 成功后生成一个事件。 |
+| `INSERT OVERWRITE ... SELECT` | Overwrite 成功后生成一个事件。 |
+| `CREATE TABLE AS SELECT` | 内部 Insert 成功后生成一个事件。 |
+
+以下操作不会生成事件:`SELECT`、`UPDATE`、`DELETE`、导入任务、仅包含 `VALUES` 的 Insert,以及目标表为
`__internal_schema` 的写入。
Review Comment:
`UPDATE`、`DELETE` 也不会吗?特意排除了?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]