[ https://issues.apache.org/jira/browse/SPARK-42828?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hyukjin Kwon resolved SPARK-42828. ---------------------------------- Fix Version/s: 3.5.0 Resolution: Fixed Issue resolved by pull request 40460 [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 > Assignee: Apache Spark > Priority: Minor > Fix For: 3.5.0 > > > 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