From a113b5c63618b20061e5e77bf87beaa3018705ef Mon Sep 17 00:00:00 2001 From: TengYao Chi Date: Wed, 15 Jan 2025 20:48:50 +0800 Subject: [PATCH] [#6243] fix(docs): Fix wrong seperator of yaml example in flink-connector.md (#6259) ### What changes were proposed in this pull request? Replace `=` with `:` to correct the yaml example. ### Why are the changes needed? The yaml example uses wrong seperator. Fix: #6243 ### Does this PR introduce _any_ user-facing change? None ### How was this patch tested? None. --- docs/flink-connector/flink-connector.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/flink-connector/flink-connector.md b/docs/flink-connector/flink-connector.md index 8c74a617064..3b43f5c4985 100644 --- a/docs/flink-connector/flink-connector.md +++ b/docs/flink-connector/flink-connector.md @@ -34,16 +34,16 @@ This capability allows users to perform federation queries, accessing data from Set the flink configuration in flink-conf.yaml. ```yaml -table.catalog-store.kind=gravitino -table.catalog-store.gravitino.gravitino.metalake=test -table.catalog-store.gravitino.gravitino.uri=http://localhost:8080 +table.catalog-store.kind: gravitino +table.catalog-store.gravitino.gravitino.metalake: test +table.catalog-store.gravitino.gravitino.uri: http://localhost:8090 ``` Or you can set the flink configuration in the `TableEnvironment`. ```java final Configuration configuration = new Configuration(); configuration.setString("table.catalog-store.kind", "gravitino"); configuration.setString("table.catalog-store.gravitino.gravitino.metalake", "test"); -configuration.setString("table.catalog-store.gravitino.gravitino.uri", "http://localhost:8080"); +configuration.setString("table.catalog-store.gravitino.gravitino.uri", "http://localhost:8090"); EnvironmentSettings.Builder builder = EnvironmentSettings.newInstance().withConfiguration(configuration); TableEnvironment tableEnv = TableEnvironment.create(builder.inBatchMode().build()); ```