HyukjinKwon commented on code in PR #46129:
URL: https://github.com/apache/spark/pull/46129#discussion_r1573465384
##########
python/pyspark/sql/connect/session.py:
##########
@@ -325,7 +325,7 @@ def active(cls) -> "SparkSession":
active.__doc__ = PySparkSession.active.__doc__
- def table(self, tableName: str) -> DataFrame:
+ def table(self, tableName: str) -> ParentDataFrame:
Review Comment:
Here is one example of the error:
```
python/pyspark/sql/classic/dataframe.py:276: error: Argument 1 of
"exceptAll" is incompatible with supertype "DataFrame"; supertype defines the
argument type as "DataFrame" [override]
```
--
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]