imback82 commented on a change in pull request #25601: [SPARK-28856][SQL]
Implement SHOW DATABASES for Data Source V2 Tables
URL: https://github.com/apache/spark/pull/25601#discussion_r320551791
##########
File path:
sql/catalyst/src/main/antlr4/org/apache/spark/sql/catalyst/parser/SqlBase.g4
##########
@@ -92,6 +92,8 @@ statement
| DROP database (IF EXISTS)? db=errorCapturingIdentifier
(RESTRICT | CASCADE)?
#dropDatabase
| SHOW DATABASES (LIKE? pattern=STRING)?
#showDatabases
+ | SHOW NAMESPACES ((FROM | IN) multipartIdentifier)?
Review comment:
I put both `FROM` and `IN` similar to `SHOW TABLES`. Please let me know if
`FROM` is not needed.
----------------------------------------------------------------
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.
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]