You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iceberg.apache.org by pv...@apache.org on 2023/11/23 11:05:51 UTC

(iceberg) branch main updated: Docs: Remove UNIQUE keyword as it is not supported in Flink (#9046)

This is an automated email from the ASF dual-hosted git repository.

pvary pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/iceberg.git


The following commit(s) were added to refs/heads/main by this push:
     new c119099076 Docs: Remove UNIQUE keyword as it is not supported in Flink (#9046)
c119099076 is described below

commit c1190990760509e40dd8e10092196a569d684f1b
Author: Prabhu Joseph <pr...@gmail.com>
AuthorDate: Thu Nov 23 16:35:44 2023 +0530

    Docs: Remove UNIQUE keyword as it is not supported in Flink (#9046)
---
 docs/flink-writes.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/flink-writes.md b/docs/flink-writes.md
index e078a82868..020a13cfb7 100644
--- a/docs/flink-writes.md
+++ b/docs/flink-writes.md
@@ -69,7 +69,7 @@ Iceberg supports `UPSERT` based on the primary key when writing data into v2 tab
 
 ```sql
 CREATE TABLE `hive_catalog`.`default`.`sample` (
-    `id`  INT UNIQUE COMMENT 'unique id',
+    `id` INT COMMENT 'unique id',
     `data` STRING NOT NULL,
     PRIMARY KEY(`id`) NOT ENFORCED
 ) with ('format-version'='2', 'write.upsert.enabled'='true');