You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@paimon.apache.org by "JingsongLi (via GitHub)" <gi...@apache.org> on 2023/03/19 03:13:27 UTC

[GitHub] [incubator-paimon] JingsongLi commented on a diff in pull request #629: Add column position for paimon

JingsongLi commented on code in PR #629:
URL: https://github.com/apache/incubator-paimon/pull/629#discussion_r1141243315


##########
docs/content/how-to/altering-tables.md:
##########
@@ -127,6 +127,24 @@ ALTER TABLE my_table ADD COLUMNS (
 
 {{< /tabs >}}
 
+## Adding Column Position
+
+To add a new column with specified position, use FIRST or AFTER col_name.
+
+{{< tabs "add-column-position" >}}
+
+{{< tab "Spark3" >}}
+
+```sql
+ALTER TABLE my_table ADD COLUMN c FIRST;

Review Comment:
   No type?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@paimon.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org