cloud-fan commented on a change in pull request #26484: [SPARK-29834][SQL]DESC 
DATABASE should look up catalog like v2 commands
URL: https://github.com/apache/spark/pull/26484#discussion_r345740110
 
 

 ##########
 File path: 
sql/catalyst/src/main/antlr4/org/apache/spark/sql/catalyst/parser/SqlBase.g4
 ##########
 @@ -199,7 +199,7 @@ statement
     | SHOW CREATE TABLE multipartIdentifier                            
#showCreateTable
     | SHOW CURRENT NAMESPACE                                           
#showCurrentNamespace
     | (DESC | DESCRIBE) FUNCTION EXTENDED? describeFuncName            
#describeFunction
-    | (DESC | DESCRIBE) database EXTENDED? db=errorCapturingIdentifier 
#describeDatabase
+    | (DESC | DESCRIBE) database EXTENDED? db=multipartIdentifier      
#describeDatabase
 
 Review comment:
   also update the label `#describeDatabase` to `#describeNamespace`

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

Reply via email to