HyukjinKwon commented on a change in pull request #34606:
URL: https://github.com/apache/spark/pull/34606#discussion_r750812025
##########
File path: python/pyspark/ml/common.py
##########
@@ -96,15 +96,15 @@ def _java2py(sc, r, encoding="bytes"):
return RDD(jrdd, sc)
if clsName == "Dataset":
- return DataFrame(r, SQLContext.getOrCreate(sc))
+ return DataFrame(r, SparkSession(sc))
Review comment:
I think we can update together .. I suspect that would be easier
actually.
--
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]