This is an automated email from the ASF dual-hosted git repository.
kerwin 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 fd816901a [doc] fix the configuration error of primary key in table
building (#4212)
fd816901a is described below
commit fd816901aebc078fe7c34f5fae65c0e52a4a46a1
Author: dongsj <[email protected]>
AuthorDate: Thu Sep 19 11:41:56 2024 +0800
[doc] fix the configuration error of primary key in table building (#4212)
---
docs/content/spark/sql-write.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/content/spark/sql-write.md b/docs/content/spark/sql-write.md
index 9cb5e191c..d27771109 100644
--- a/docs/content/spark/sql-write.md
+++ b/docs/content/spark/sql-write.md
@@ -196,7 +196,7 @@ Paimon Structured Streaming only supports the two `append`
and `complete` modes.
// Create a paimon table if not exists.
spark.sql(s"""
|CREATE TABLE T (k INT, v STRING)
- |TBLPROPERTIES ('primary-key'='a', 'bucket'='3')
+ |TBLPROPERTIES ('primary-key'='k', 'bucket'='3')
|""".stripMargin)
// Here we use MemoryStream to fake a streaming source.