juanvisoler commented on code in PR #40608:
URL: https://github.com/apache/spark/pull/40608#discussion_r1154034968
##########
python/pyspark/sql/dataframe.py:
##########
@@ -706,6 +706,25 @@ def explain(
assert self._sc._jvm is not None
print(self._sc._jvm.PythonSQLUtils.explainString(self._jdf.queryExecution(),
explain_mode))
+ def debugCodegen(self) -> None:
+ """For debugging purposes, prints to stdout all the generated code
found
+ in this :class:`DataFrame` plan (i.e., the output of each
WholeStageCodegen subtree).
+
+ .. versionadded:: 3.4.0
Review Comment:
Thanks @HyukjinKwon, updated to 3.5.0 as suggested
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]