[ https://issues.apache.org/jira/browse/SPARK-35622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17364074#comment-17364074 ]
Apache Spark commented on SPARK-35622: -------------------------------------- User 'StefanXiepj' has created a pull request for this issue: https://github.com/apache/spark/pull/32925 > DataFrame's count function do not need groupBy and avoid shuffle > ---------------------------------------------------------------- > > Key: SPARK-35622 > URL: https://issues.apache.org/jira/browse/SPARK-35622 > Project: Spark > Issue Type: Improvement > Components: SQL > Affects Versions: 3.1.2 > Reporter: xiepengjie > Priority: Major > > Use `df.rdd.count()` replace `df.count()`. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org