You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sean R. Owen (Jira)" <ji...@apache.org> on 2021/09/26 00:45:00 UTC

[jira] [Resolved] (SPARK-35622) DataFrame's count function do not need groupBy and avoid shuffle

     [ https://issues.apache.org/jira/browse/SPARK-35622?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sean R. Owen resolved SPARK-35622.
----------------------------------
    Resolution: Won't Fix

> 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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org