You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@paimon.apache.org by lz...@apache.org on 2023/08/10 04:18:58 UTC

[incubator-paimon] branch master updated: [doc] add doc for `drop column` ddl with Hive catalog (#1780)

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

lzljs3620320 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-paimon.git


The following commit(s) were added to refs/heads/master by this push:
     new af3424a62 [doc] add doc for `drop column` ddl with Hive catalog  (#1780)
af3424a62 is described below

commit af3424a629a700eb4576f149f06f39f75f6f88bf
Author: JunZhang <zh...@126.com>
AuthorDate: Thu Aug 10 12:18:54 2023 +0800

    [doc] add doc for `drop column` ddl with Hive catalog  (#1780)
---
 docs/content/how-to/altering-tables.md | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/docs/content/how-to/altering-tables.md b/docs/content/how-to/altering-tables.md
index 61bb3a7d1..b52b4fcc4 100644
--- a/docs/content/how-to/altering-tables.md
+++ b/docs/content/how-to/altering-tables.md
@@ -229,7 +229,8 @@ ALTER TABLE my_table RENAME COLUMN c0 TO c1;
 
 ## Dropping Columns
 
-The following SQL drops two columns `c1` and `c2` from table `my_table`.
+The following SQL drops two columns `c1` and `c2` from table `my_table`. In hive catalog, you need to ensure disable `hive.metastore.disallow.incompatible.col.type.changes` in your hive server,
+otherwise this operation may fail, throws an exception like `The following columns have types incompatible with the existing columns in their respective positions`.
 
 {{< tabs "drop-columns-example" >}}