You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- The `created_by`, `created_at`, `updated_by`, and `options` fields are populated from REST catalog audit information. For non-REST catalogs, these fields will be `NULL`.
452
+
- The `deleted_record_count` field is the number of records marked deleted by deletion vectors in the partition. It is `0` when the partition has no deletion vectors and `NULL` when legacy deletion vector metadata does not contain cardinality.
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](https://nightlies.apache.org/flink/flink-docs-stable/docs/internals/data_lineage/) 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.
9
+
10
+
:::info
11
+
Data Lineage support is available only for Flink 2.0 and above.
12
+
:::
13
+
14
+
## Table API / SQL
15
+
16
+
When using Paimon tables via Flink SQL or Table API, lineage is automatically reported for both source and sink tables.
17
+
18
+
Apart from the table lineage information provided by Flink natively (name, schema), Paimon enriches each dataset with a namespace and a **config facet** containing core table options and Iceberg metadata options.
19
+
20
+
:::warning
21
+
Full Table API lineage support requires <ahref="https://github.com/apache/flink/pull/27727"style="color: #1677ff; text-decoration: underline;">this upstream Flink change</a> which is pending merge. Without it, Flink will not call `getLineageVertex()` for `DataStreamScanProvider` and `DataStreamSinkProvider`, which can lead to potentially missing Paimon input or output datasets. This applies to all Flink 2.x versions that do not yet include this change.
22
+
:::
23
+
24
+
## DataStream API
25
+
26
+
Paimon also supports lineage for the DataStream API. Lineage is automatically reported for sources built via `FlinkSourceBuilder` and for all sinks that extend `FlinkSink`.
27
+
28
+
Similar to the Table API, it reports all lineage information including name, namespace, schema facet, and config facet.
29
+
30
+
## Configuration
31
+
32
+
To consume lineage events, a [JobStatusChangedListener](https://nightlies.apache.org/flink/flink-docs-master/docs/deployment/advanced/job_status_listener/#configuration) must be added in your Flink configuration.
Copy file name to clipboardExpand all lines: docs/docs/maintenance/metrics.md
+85-1Lines changed: 85 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,7 +37,7 @@ Paimon has supported built-in metrics to measure operations of **commits**, **sc
37
37
38
38
## Metrics List
39
39
40
-
Below is lists of Paimon built-in metrics. They are summarized into types of scan metrics, commit metrics, write metrics, write buffer metrics and compaction metrics.
40
+
Below is lists of Paimon built-in metrics. They are summarized into types of scan metrics, commit metrics, write metrics, write buffer metrics, blob fetch metrics and compaction metrics.
41
41
42
42
### Scan Metrics
43
43
@@ -226,6 +226,85 @@ Below is lists of Paimon built-in metrics. They are summarized into types of sca
0 commit comments