You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Joe Wang (Jira)" <ji...@apache.org> on 2023/03/16 16:45:00 UTC

[jira] [Created] (SPARK-42828) PySpark type hint returns Any for methods on GroupedData

Joe Wang created SPARK-42828:
--------------------------------

             Summary: PySpark type hint returns Any for methods on GroupedData
                 Key: SPARK-42828
                 URL: https://issues.apache.org/jira/browse/SPARK-42828
             Project: Spark
          Issue Type: Bug
          Components: PySpark
    Affects Versions: 3.3.2, 3.3.1, 3.3.0
            Reporter: Joe Wang


Since upgrading to PySpark 3.3.x, type hints for
{code:java}
df.groupBy(...).count(){code}
are now returning Any instead of DataFrame, causing type inference issues downstream. This used to be correctly typed prior to 3.3.x.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org