huaxingao commented on a change in pull request #35239:
URL: https://github.com/apache/spark/pull/35239#discussion_r794251533
##########
File path: docs/sql-ref-syntax-ddl-alter-table.md
##########
@@ -166,6 +167,18 @@ ALTER TABLE table_identifier REPLACE COLUMNS
**Syntax:** `[ database_name. ] table_name`
+* **partition_spec**
+
+ Partition to be replaced. Note that one can use a typed literal (e.g.,
date'2019-01-02') in the partition spec.
+
+ **Syntax:** `PARTITION ( partition_col_name = partition_col_val [ , ... ] )`
+
+* **qualified_col_type_with_position_list**
+
+ The list of the column(s) to be added
+
+ **Syntax:** `( col_name col_type [ col_comment ] [ col_position ] [ , ... ]
)`
Review comment:
nit: I think we don't need the `(` `)`. It is already specified in L159.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]