This is an automated email from the ASF dual-hosted git repository.
lzljs3620320 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/paimon.git
The following commit(s) were added to refs/heads/master by this push:
new 32c391e5a0 [docs] refine flink-api doc example code (#5273)
32c391e5a0 is described below
commit 32c391e5a01e4a37a34f49292bb67c003830989f
Author: Daoyuan Wang <[email protected]>
AuthorDate: Thu Mar 13 15:20:28 2025 +0800
[docs] refine flink-api doc example code (#5273)
---
docs/content/program-api/flink-api.md | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/docs/content/program-api/flink-api.md
b/docs/content/program-api/flink-api.md
index 3451b40d58..14e43aae8b 100644
--- a/docs/content/program-api/flink-api.md
+++ b/docs/content/program-api/flink-api.md
@@ -180,16 +180,12 @@ Paimon supports ingest data into Paimon tables with
schema evolution.
Here is an example to use `RichCdcSinkBuilder` API:
```java
-import org.apache.paimon.catalog.Catalog;
-import org.apache.paimon.catalog.CatalogContext;
-import org.apache.paimon.catalog.CatalogFactory;
+import org.apache.paimon.catalog.CatalogLoader;
import org.apache.paimon.flink.FlinkCatalogFactory;
import org.apache.paimon.catalog.Identifier;
import org.apache.paimon.flink.sink.cdc.RichCdcRecord;
import org.apache.paimon.flink.sink.cdc.RichCdcSinkBuilder;
-import org.apache.paimon.fs.Path;
import org.apache.paimon.options.Options;
-import org.apache.paimon.schema.Schema;
import org.apache.paimon.table.Table;
import org.apache.paimon.types.DataTypes;