Github user hvanhovell commented on a diff in the pull request:
https://github.com/apache/spark/pull/12853#discussion_r61948246
--- 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
- | ALTER TABLE tableIdentifier partitionSpec?
- ADD COLUMNS '(' colTypeList ')' (CASCADE | RESTRICT)?
#addColumns
- | ALTER TABLE tableIdentifier partitionSpec?
- REPLACE COLUMNS '(' colTypeList ')' (CASCADE | RESTRICT)?
#replaceColumns
- | DROP TABLE (IF EXISTS)? tableIdentifier PURGE?
- (FOR METADATA? REPLICATION '(' STRING ')')?
#dropTable
+ | DROP TABLE (IF EXISTS)? tableIdentifier PURGE?
#dropTable
--- End diff --
Did you remove the `(FOR METADATA? REPLICATION '(' STRING ')')?` on purpose?
---
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]