viirya commented on a change in pull request #26861: [SPARK-30231][SQL][PYTHON]
Support explain mode in PySpark df.explain
URL: https://github.com/apache/spark/pull/26861#discussion_r357723950
##########
File path: python/pyspark/sql/dataframe.py
##########
@@ -253,10 +253,18 @@ def printSchema(self):
print(self._jdf.schema().treeString())
@since(1.3)
- def explain(self, extended=False):
+ def explain(self, extended=None, mode=None):
"""Prints the (logical and physical) plans to the console for
debugging purpose.
:param extended: boolean, default ``False``. If ``False``, prints only
the physical plan.
Review comment:
default None?
----------------------------------------------------------------
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]