diff options
author | Davies Liu <davies@databricks.com> | 2015-11-25 11:11:39 -0800 |
---|---|---|
committer | Davies Liu <davies.liu@gmail.com> | 2015-11-25 11:11:39 -0800 |
commit | dc1d324fdf83e9f4b1debfb277533b002691d71f (patch) | |
tree | d382bd678fa69c929ac3ca24e8d7e2f229d29256 /python/pyspark/sql | |
parent | 6b781576a15d8d5c5fbed8bef1c5bda95b3d44ac (diff) | |
download | spark-dc1d324fdf83e9f4b1debfb277533b002691d71f.tar.gz spark-dc1d324fdf83e9f4b1debfb277533b002691d71f.tar.bz2 spark-dc1d324fdf83e9f4b1debfb277533b002691d71f.zip |
[SPARK-11969] [SQL] [PYSPARK] visualization of SQL query for pyspark
Currently, we does not have visualization for SQL query from Python, this PR fix that.
cc zsxwing
Author: Davies Liu <davies@databricks.com>
Closes #9949 from davies/pyspark_sql_ui.
Diffstat (limited to 'python/pyspark/sql')
-rw-r--r-- | python/pyspark/sql/dataframe.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/pyspark/sql/dataframe.py b/python/pyspark/sql/dataframe.py index 0dd75ba7ca..746bb55e14 100644 --- a/python/pyspark/sql/dataframe.py +++ b/python/pyspark/sql/dataframe.py @@ -277,7 +277,7 @@ class DataFrame(object): [Row(age=2, name=u'Alice'), Row(age=5, name=u'Bob')] """ with SCCallSiteSync(self._sc) as css: - port = self._sc._jvm.PythonRDD.collectAndServe(self._jdf.javaToPython().rdd()) + port = self._jdf.collectToPython() return list(_load_from_socket(port, BatchedSerializer(PickleSerializer()))) @ignore_unicode_prefix |