zhengruifeng opened a new pull request, #41186:
URL: https://github.com/apache/spark/pull/41186

   ### What changes were proposed in this pull request?
   Fix `catalog.listCatalogs` in PySpark
   
   
   ### Why are the changes needed?
   existing implementation outputs incorrect results
   
   ### Does this PR introduce _any_ user-facing change?
   yes
   
   before this PR:
   ```
   In [1]: spark.catalog.listCatalogs()
   Out[1]: [CatalogMetadata(name=<py4j.java_gateway.JavaMember object at 
0x1031f08b0>, description=<py4j.java_gateway.JavaMember object at 0x1049ac2e0>)]
   ```
   
   after this PR:
   ```
   In [1]: spark.catalog.listCatalogs()
   Out[1]: [CatalogMetadata(name='spark_catalog', description=None)]
   ```
   
   ### How was this patch tested?
   added doctest


-- 
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: reviews-unsubscr...@spark.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to