From 50a537dd129dcac438c5082faf85b14310078597 Mon Sep 17 00:00:00 2001 From: dyozie Date: Mon, 25 Mar 2019 11:51:16 -0700 Subject: [PATCH] Docs: update exchange partition limitation --- gpdb-doc/dita/admin_guide/ddl/ddl-partition.xml | 4 ++-- gpdb-doc/dita/ref_guide/sql_commands/ALTER_TABLE.xml | 5 ++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/gpdb-doc/dita/admin_guide/ddl/ddl-partition.xml b/gpdb-doc/dita/admin_guide/ddl/ddl-partition.xml index 4e7d0b9255..33b4baf0fa 100644 --- a/gpdb-doc/dita/admin_guide/ddl/ddl-partition.xml +++ b/gpdb-doc/dita/admin_guide/ddl/ddl-partition.xml @@ -688,8 +688,8 @@ PARTITION other; partition swaps one table in place of an existing partition. You can exchange partitions only at the lowest level of your partition hierarchy (only partitions that contain data can be exchanged).

-

You cannot exchange a partition with a replicated table. You cannot exchange a partition - with a partitioned table or a child partition of a partitioned table.

+

You cannot exchange a partition with a replicated table. Exchanging a partition with a partitioned table or a child partition of a partitioned + table is not supported.

Partition exchange can be useful for data loading. For example, load a staging table and swap the loaded table into your partition design. You can use partition exchange to change the storage type of older partitions to append-optimized tables. For example:

diff --git a/gpdb-doc/dita/ref_guide/sql_commands/ALTER_TABLE.xml b/gpdb-doc/dita/ref_guide/sql_commands/ALTER_TABLE.xml index a83b8be9d4..b44b922e70 100644 --- a/gpdb-doc/dita/ref_guide/sql_commands/ALTER_TABLE.xml +++ b/gpdb-doc/dita/ref_guide/sql_commands/ALTER_TABLE.xml @@ -802,9 +802,8 @@ where action is one of: column with a check constraint or a NOT NULL constraint. You cannot exchange a partition with a replicated table. - You cannot exchange a partition with a partitioned - table or a child partition of a partitioned - table. + Exchanging a partition with a partitioned table or a child partition of a partitioned + table is not supported. WITH | WITHOUT VALIDATION - Validates that the data in the table matches the CHECK constraint of the partition -- GitLab