You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (Jira)" <ji...@apache.org> on 2022/05/31 06:26:00 UTC
[jira] [Commented] (SPARK-39345) Replace `filter` negation condition with `filterNot`
[ https://issues.apache.org/jira/browse/SPARK-39345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17544149#comment-17544149 ]
Apache Spark commented on SPARK-39345:
--------------------------------------
User 'LuciferYang' has created a pull request for this issue:
https://github.com/apache/spark/pull/36732
> Replace `filter` negation condition with `filterNot`
> ----------------------------------------------------
>
> Key: SPARK-39345
> URL: https://issues.apache.org/jira/browse/SPARK-39345
> Project: Spark
> Issue Type: Improvement
> Components: DStreams, MLlib, Spark Core, SQL
> Affects Versions: 3.4.0
> Reporter: Yang Jie
> Priority: Minor
>
> {code:java}
> seq.filter(!condition) {code}
> ->
> {code:java}
> seq.filterNot(condition) {code}
--
This message was sent by Atlassian Jira
(v8.20.7#820007)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org