dilipbiswal commented on a change in pull request #25526: [SPARK-28807][DOC] 
Document SHOW DATABASES in SQL Reference
URL: https://github.com/apache/spark/pull/25526#discussion_r316337229
 
 

 ##########
 File path: docs/sql-ref-syntax-aux-show-databases.md
 ##########
 @@ -19,4 +19,31 @@ license: |
   limitations under the License.
 ---
 
-**This page is under construction**
+### Description
+Lists the databases that match a optionally supplied string pattern. If no
+pattern is supplied then the command lists all the databases in the system.
+Please note that the usage of SCHEMAS and DATABASES are interchangable
+and mean the same thing.
+
+### Syntax
+{% highlight sql %}
+SHOW {DATABASES|SCHEMAS} [LIKE 'pattern']
+{% endhighlight %}
+
+### Parameters
+##### ***LIKE 'pattern'***:
+A string pattern that is used to match the databases. In pattern, * matches 
any number of characters.
 
 Review comment:
   @srowen changed to use backtick. Actually only "*" works as a wildcard for 
this statement.

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