beliefer commented on a change in pull request #23535: [SPARK-26613][SQL] Add
another rename table grammar for spark sql
URL: https://github.com/apache/spark/pull/23535#discussion_r247741021
##########
File path:
sql/catalyst/src/main/antlr4/org/apache/spark/sql/catalyst/parser/SqlBase.g4
##########
@@ -105,6 +105,7 @@ statement
ADD COLUMNS '(' columns=colTypeList ')'
#addTableColumns
| ALTER (TABLE | VIEW) from=tableIdentifier
RENAME TO to=tableIdentifier
#renameTable
+ | RENAME (TABLE | VIEW) from=tableIdentifier TO to=tableIdentifier
#renameTable
Review comment:
Thanks a lot!
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]