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

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

commit 1f44073ef8888ac4f6450d0199b1dba2e0bbdad6
Author: GuojunLi <[email protected]>
AuthorDate: Sun Apr 23 14:32:58 2023 +0800

    [docs] Guiding spark chaning column type (#993)
---
 docs/content/how-to/altering-tables.md | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/docs/content/how-to/altering-tables.md 
b/docs/content/how-to/altering-tables.md
index 9efc9e112..774dd79df 100644
--- a/docs/content/how-to/altering-tables.md
+++ b/docs/content/how-to/altering-tables.md
@@ -240,3 +240,19 @@ ALTER TABLE my_table ALTER COLUMN col_a AFTER col_b;
 {{< /tab >}}
 
 {{< /tabs >}}
+
+## Changing Column Type
+
+The following SQL changes type of column `col_a` to `DOUBLE`.
+
+{{< tabs "change-column-type" >}}
+
+{{< tab "Spark3" >}}
+
+```sql
+ALTER TABLE my_table ALTER COLUMN col_a TYPE 'DOUBLE';
+```
+
+{{< /tab >}}
+
+{{< /tabs >}}

Reply via email to