cloud-fan commented on a change in pull request #34713:
URL: https://github.com/apache/spark/pull/34713#discussion_r756953839



##########
File path: 
sql/catalyst/src/main/antlr4/org/apache/spark/sql/catalyst/parser/SqlBase.g4
##########
@@ -228,7 +228,7 @@ statement
     | SHOW identifier? FUNCTIONS
         (LIKE? (multipartIdentifier | pattern=STRING))?                
#showFunctions
     | SHOW CREATE TABLE multipartIdentifier (AS SERDE)?                
#showCreateTable
-    | SHOW CURRENT NAMESPACE                                           
#showCurrentNamespace
+    | SHOW CURRENT namespace                                           
#showCurrentNamespace

Review comment:
       This is not a useful command really. People can just do `SELECT 
current_database()`. Maybe we should create `current_namespace()` and deprecate 
this command.




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

Reply via email to