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


##########
python/pyspark/sql/connect/dataframe.py:
##########
@@ -667,12 +668,70 @@ def schema(self) -> StructType:
         else:
             return self._schema
 
-    def explain(self) -> str:
+    def explain(
+        self, extended: Optional[Union[bool, str]] = None, mode: Optional[str] 
= None

Review Comment:
   Correct me if I am wrong: 
   
   `keyword-only argument` means to not be compatible with PySpark `explain` 
API?



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