From e45718074847b2e5559060c79ed3be3c0fd822a5 Mon Sep 17 00:00:00 2001 From: David Yozie Date: Tue, 12 Mar 2019 15:58:30 -0700 Subject: [PATCH] Indicate that GPORCA doesn't fully support per-column collation (#7153) --- .../admin_guide/query/topics/query-piv-opt-limitations.xml | 3 +++ gpdb-doc/dita/ref_guide/sql_commands/ALTER_TABLE.xml | 6 +++++- gpdb-doc/dita/ref_guide/sql_commands/CREATE_TABLE.xml | 4 +++- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/gpdb-doc/dita/admin_guide/query/topics/query-piv-opt-limitations.xml b/gpdb-doc/dita/admin_guide/query/topics/query-piv-opt-limitations.xml index 3d1b5d92c3..dc4ef3a91e 100644 --- a/gpdb-doc/dita/admin_guide/query/topics/query-piv-opt-limitations.xml +++ b/gpdb-doc/dita/admin_guide/query/topics/query-piv-opt-limitations.xml @@ -48,6 +48,9 @@ the characters are not compatible with the host system locale.
  • SELECT, UPDATE, and DELETE commands where a table name is qualified by the ONLY keyword.
  • +
  • Per-column collation. GPORCA supports collation only when all columns in the query use + the same collation. If columns in the query use different collations, then Greenplum + uses the Postgres query planner.
  • 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 6cf68bb13c..61614d563b 100644 --- a/gpdb-doc/dita/ref_guide/sql_commands/ALTER_TABLE.xml +++ b/gpdb-doc/dita/ref_guide/sql_commands/ALTER_TABLE.xml @@ -164,7 +164,11 @@ where action is one of: default conversion is the same as an assignment cast from old data type to new. A USING clause must be provided if there is no implicit or assignment cast from - old to new type. + old to new type.GPORCA supports collation only when + all columns in the query use the same collation. If + columns in the query use different collations, then + Greenplum uses the Postgres query + planner.
  • SET/DROP DEFAULT — Sets or removes the default value for a column. The default values only apply to subsequent INSERT commands. They do not diff --git a/gpdb-doc/dita/ref_guide/sql_commands/CREATE_TABLE.xml b/gpdb-doc/dita/ref_guide/sql_commands/CREATE_TABLE.xml index e41e37739f..357669bff4 100644 --- a/gpdb-doc/dita/ref_guide/sql_commands/CREATE_TABLE.xml +++ b/gpdb-doc/dita/ref_guide/sql_commands/CREATE_TABLE.xml @@ -265,7 +265,9 @@ CREATE [ [GLOBAL | LOCAL] {TEMPORARY | TEMP} | UNLOGGED ] TABLE [IF NOT EXISTS] COLLATE collation The COLLATE clause assigns a collation to the column (which must be of a collatable data type). If not specified, the column data type's default collation - is used. + is used.GPORCA supports collation only when all columns in the query use the same + collation. If columns in the query use different collations, then Greenplum uses the + Postgres query planner. DEFAULT default_expr -- GitLab