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

Hyukjin Kwon reassigned SPARK-34275:
------------------------------------

    Assignee: Yang Jie

> Replaces filter and size with count
> -----------------------------------
>
>                 Key: SPARK-34275
>                 URL: https://issues.apache.org/jira/browse/SPARK-34275
>             Project: Spark
>          Issue Type: Improvement
>          Components: ML, Spark Core, SQL
>    Affects Versions: 3.2.0
>            Reporter: Yang Jie
>            Assignee: Yang Jie
>            Priority: Minor
>
> Use {{count}} to simplify {{find + size(or length) operation}}, it's 
> semantically consistent, but looks simpler.
> *Before*
> {code:java}
> seq.filter(p).size{code}
> *After*
> {code:java}
> seq.count(p){code}



--
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

Reply via email to