imback82 opened a new pull request #25601: [SPARK-28856][SQL] Implement SHOW 
DATABASES for Data Source V2 Tables
URL: https://github.com/apache/spark/pull/25601
 
 
   ### What changes were proposed in this pull request?
   Implement the SHOW DATABASES logical and physical plans for data source v2 
tables.
   
   ### Why are the changes needed?
   To support `SHOW DATABASES` SQL commands for v2 tables.
   
   ### Does this PR introduce any user-facing change?
   `spark.sql("SHOW DATABASES")` will return namespaces if the default catalog 
is set:
   ```
   +---------------+
   |      namespace|
   +---------------+
   |            ns1|
   |      ns1.ns1_1|
   |ns1.ns1_1.ns1_2|
   +---------------+
   ```
   
   
   ### How was this patch tested?
   Added unit tests to `DataSourceV2SQLSuite`.

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