[ https://issues.apache.org/jira/browse/SPARK-42828?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17701345#comment-17701345 ]
Apache Spark commented on SPARK-42828: -------------------------------------- User 'j03wang' has created a pull request for this issue: https://github.com/apache/spark/pull/40460 > 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.0, 3.3.1, 3.3.2 > Reporter: Joe Wang > Priority: Minor > > 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-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org