wangyum commented on a change in pull request #32442:
URL: https://github.com/apache/spark/pull/32442#discussion_r628980328



##########
File path: 
sql/catalyst/src/main/antlr4/org/apache/spark/sql/catalyst/parser/SqlBase.g4
##########
@@ -375,8 +363,18 @@ ctes
     : WITH namedQuery (',' namedQuery)*
     ;
 
+informationQuery
+    : SHOW (DATABASES | NAMESPACES) ((FROM | IN) multipartIdentifier)? (LIKE? 
pattern=STRING)?              #showNamespaces
+    | SHOW TABLES ((FROM | IN) multipartIdentifier)? (LIKE? pattern=STRING)?   
                             #showTables

Review comment:
       Why do not support `SHOW TABLE EXTENDED`?




-- 
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]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to