You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by "dongjoon-hyun (via GitHub)" <gi...@apache.org> on 2026/05/26 02:03:04 UTC
Re: [PR] [SPARK-55090][PYTHON][CONNECT] Implement `DataFrame.toJSON` in Python Client [spark]
dongjoon-hyun commented on code in PR #53849:
URL: https://github.com/apache/spark/pull/53849#discussion_r3300754105
##########
python/pyspark/sql/classic/dataframe.py:
##########
@@ -171,6 +171,11 @@ def stat(self) -> ParentDataFrameStatFunctions:
def toJSON(self, use_unicode: bool = True) -> "RDD[str]":
from pyspark.core.rdd import RDD
+ warnings.warn(
+ "The return type of DataFrame.toJSON will be changed from RDD to DataFrame "
Review Comment:
Which future version do you mean, @zhengruifeng and @HyukjinKwon ?
--
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: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org