This is an automated email from the ASF dual-hosted git repository.
rymurr pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iceberg.git
The following commit(s) were added to refs/heads/master by this push:
new 1dcd926 Docs: Make SQL multiline to avoid having a single long line
(#2656)
1dcd926 is described below
commit 1dcd9263e55c5e81c7c0021f90de7c94e5612b61
Author: Eduard Tudenhöfner <[email protected]>
AuthorDate: Tue Jun 1 17:14:42 2021 +0200
Docs: Make SQL multiline to avoid having a single long line (#2656)
---
site/docs/nessie.md | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/site/docs/nessie.md b/site/docs/nessie.md
index 494df1c..8489d20 100644
--- a/site/docs/nessie.md
+++ b/site/docs/nessie.md
@@ -75,7 +75,12 @@ iceberg_flink_runtime_jar = os.path.join(os.getcwd(),
"iceberg-flink-runtime-0.1
env.add_jars("file://{}".format(iceberg_flink_runtime_jar))
table_env = StreamTableEnvironment.create(env)
-table_env.execute_sql("CREATE CATALOG nessie_catalog WITH ('type'='iceberg',
'catalog-impl'='org.apache.iceberg.nessie.NessieCatalog',
'uri'='http://localhost:19120/api/v1', 'ref'='main',
'warehouse'='/path/to/warehouse')")
+table_env.execute_sql("CREATE CATALOG nessie_catalog WITH ("
+ "'type'='iceberg', "
+
"'catalog-impl'='org.apache.iceberg.nessie.NessieCatalog', "
+ "'uri'='http://localhost:19120/api/v1', "
+ "'ref'='main', "
+ "'warehouse'='/path/to/warehouse')")
```
There is nothing special above about the `nessie` name. A spark catalog can
have any name, the important parts are the