Github user hvanhovell commented on a diff in the pull request:
https://github.com/apache/spark/pull/12853#discussion_r61948745
--- Diff:
sql/catalyst/src/main/antlr4/org/apache/spark/sql/catalyst/parser/SqlBase.g4 ---
@@ -81,18 +81,8 @@ statement
DROP (IF EXISTS)? partitionSpec (',' partitionSpec)* PURGE?
#dropTablePartitions
| ALTER VIEW tableIdentifier
DROP (IF EXISTS)? partitionSpec (',' partitionSpec)*
#dropTablePartitions
- | ALTER TABLE tableIdentifier partitionSpec?
- SET FILEFORMAT fileFormat
#setTableFileFormat
| ALTER TABLE tableIdentifier partitionSpec? SET locationSpec
#setTableLocation
- | ALTER TABLE tableIdentifier partitionSpec?
- CHANGE COLUMN? oldName=identifier colType
- (FIRST | AFTER after=identifier)? (CASCADE | RESTRICT)?
#changeColumn
--- End diff --
We can drop the `FIRST` and `AFTER` keywords.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]