Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-39345

Replace `filter` negation condition with `filterNot`

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Won't Fix
    • 3.4.0
    • None
    • DStreams, MLlib, Spark Core, SQL
    • None

    Description

      seq.filter(!condition) 

       ->

      seq.filterNot(condition)  

      Attachments

        Activity

          People

            Unassigned Unassigned
            LuciferYang Yang Jie
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: