JingsongLi commented on code in PR #8476: URL: https://github.com/apache/paimon/pull/8476#discussion_r3534248090
########## docs/docs/flink/lineage.md: ########## @@ -0,0 +1,34 @@ +--- +title: "Data Lineage" +sidebar_position: 13 +--- + +# Data Lineage + +Paimon implements [FLIP-314](https://cwiki.apache.org/confluence/spaces/FLINK/pages/255070913/FLIP-314+Support+Customized+Job+Lineage+Listener) to expose lineage information through Flink's native `LineageVertexProvider` interface. This allows lineage consumers (such as [OpenLineage](https://openlineage.io/docs/integrations/flink/flink2)) to automatically discover Paimon datasets in the Flink job graph. Review Comment: This should probably scope the feature to Flink 2.x. In the Flink 1.x build Paimon only provides compatibility stubs for these lineage interfaces (`paimon-flink1-common/.../LineageVertexProvider` explicitly says the 1.x runtime never calls `getLineageVertex()`), so adding a `JobStatusChangedListener` there will not discover Paimon datasets. Could we mention the minimum Flink version / Flink 2.x requirement near the introduction or configuration section, so 1.x users do not expect this to work? -- 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]
