You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2022/11/23 04:28:53 UTC

[GitHub] [spark] amaliujia commented on a diff in pull request #38762: [SPARK-41225] [CONNECT] [PYTHON] Disable unsupported functions.

amaliujia commented on code in PR #38762:
URL: https://github.com/apache/spark/pull/38762#discussion_r1030011493


##########
python/pyspark/sql/connect/dataframe.py:
##########
@@ -951,6 +951,39 @@ def createOrReplaceGlobalTempView(self, name: str) -> None:
         ).command(session=self._session)
         self._session.execute_command(command)
 
+    def rdd(self, *args: Any, **kwargs: Any) -> None:
+        raise NotImplementedError("RDD Support for Spark Connect is not implemented.")

Review Comment:
   Maybe keep consistently to include `for Spark Connect` or not include in the error message? 
   
   Only this one mentions `Spark Connect` now.



-- 
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