bjornjorgensen commented on a change in pull request #34389:
URL: https://github.com/apache/spark/pull/34389#discussion_r742112477
##########
File path: python/pyspark/pandas/frame.py
##########
@@ -4808,6 +4842,10 @@ def to_pandas(self) -> pd.DataFrame:
2 0.6 0.0
3 0.2 0.1
"""
+ log_advice(
+ "`to_pandas` loads all data into the driver's memory. "
Review comment:
One UP from me. Its good info when you get OOM, but when yours code
works, pandas on spark prints to much now. Also see
https://issues.apache.org/jira/plugins/servlet/mobile#issue/SPARK-37174
--
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]