From 1fb5cbb7217c8027b51a9123ef3633a813fe607e Mon Sep 17 00:00:00 2001 From: xiangyu0xf Date: Thu, 2 Nov 2023 21:56:14 +0800 Subject: [PATCH] [doc] Fix the documentation about partition keys (#2238) --- docs/content/concepts/basic-concepts.md | 2 +- docs/content/how-to/creating-tables.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/content/concepts/basic-concepts.md b/docs/content/concepts/basic-concepts.md index c52f58112e9a..49842be21e41 100644 --- a/docs/content/concepts/basic-concepts.md +++ b/docs/content/concepts/basic-concepts.md @@ -40,7 +40,7 @@ By partitioning, users can efficiently operate on a slice of records in the tabl {{< hint info >}} -Partition keys must be a subset of primary keys if primary keys are defined. +Partition keys must be a subset of primary keys if primary keys are defined. If you need cross partition upsert (primary keys not contain all partition fields), you should use [Dynamic Bucket]({{< ref "concepts/primary-key-table#dynamic-bucket">}}) mode. {{< /hint >}} diff --git a/docs/content/how-to/creating-tables.md b/docs/content/how-to/creating-tables.md index e4a050f56a37..dec2e4921353 100644 --- a/docs/content/how-to/creating-tables.md +++ b/docs/content/how-to/creating-tables.md @@ -224,7 +224,7 @@ By configuring [partition.expiration-time]({{< ref "maintenance/manage-partition #### Pick Partition Fields {{< hint info >}} -Partition fields must be a subset of primary keys if primary keys are defined. +Partition keys must be a subset of primary keys if primary keys are defined. If you need cross partition upsert (primary keys not contain all partition fields), you should use [Dynamic Bucket]({{< ref "concepts/primary-key-table#dynamic-bucket">}}) mode. {{< /hint >}} The following three types of fields may be defined as partition fields in the warehouse: