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: [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]

Reply via email to