diff options
author | Andrew Or <andrew@databricks.com> | 2016-05-09 20:02:23 -0700 |
---|---|---|
committer | Reynold Xin <rxin@databricks.com> | 2016-05-09 20:02:23 -0700 |
commit | 8f932fb88dc03ee14ecbcbe42d3a74adef8fe2d6 (patch) | |
tree | 21328564520dfaf5e65042af2af8eeb821638586 /python/pyspark/serializers.py | |
parent | 980bba0dcfcecbfce701d765fb45bf174cea54ad (diff) | |
download | spark-8f932fb88dc03ee14ecbcbe42d3a74adef8fe2d6.tar.gz spark-8f932fb88dc03ee14ecbcbe42d3a74adef8fe2d6.tar.bz2 spark-8f932fb88dc03ee14ecbcbe42d3a74adef8fe2d6.zip |
[SPARK-15234][SQL] Fix spark.catalog.listDatabases.show()
## What changes were proposed in this pull request?
Before:
```
scala> spark.catalog.listDatabases.show()
+--------------------+-----------+-----------+
| name|description|locationUri|
+--------------------+-----------+-----------+
|Database[name='de...|
|Database[name='my...|
|Database[name='so...|
+--------------------+-----------+-----------+
```
After:
```
+-------+--------------------+--------------------+
| name| description| locationUri|
+-------+--------------------+--------------------+
|default|Default Hive data...|file:/user/hive/w...|
| my_db| This is a database|file:/Users/andre...|
|some_db| |file:/private/var...|
+-------+--------------------+--------------------+
```
## How was this patch tested?
New test in `CatalogSuite`
Author: Andrew Or <andrew@databricks.com>
Closes #13015 from andrewor14/catalog-show.
Diffstat (limited to 'python/pyspark/serializers.py')
0 files changed, 0 insertions, 0 deletions