dtenedor commented on a change in pull request #35690:
URL: https://github.com/apache/spark/pull/35690#discussion_r817058508
##########
File path:
sql/catalyst/src/main/antlr4/org/apache/spark/sql/catalyst/parser/SqlBase.g4
##########
@@ -136,7 +136,7 @@ statement
(RESTRICT | CASCADE)?
#dropNamespace
| SHOW namespaces ((FROM | IN) multipartIdentifier)?
(LIKE? pattern=STRING)?
#showNamespaces
- | createTableHeader ('(' colTypeList ')')? tableProvider?
+ | createTableHeader ('(' createTableColTypeList ')')? tableProvider?
Review comment:
No problem, we can support `replace table` here as well. I updated the
`createTableColTypeList` to `createOrReplaceTableColTypeList`, and updated the
test cases so they pass.
--
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]