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

Add in operator to DataFrame Column

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.5.0
    • SparkR, SQL
    • None

    Description

      It is convenient to add "in" operator to column, so we can filter values in a set.

      df.filter(col("brand").in("dell", "sony"))
      

      In R, the operator should be `%in%`.

      Attachments

        Issue Links

          Activity

            People

              yuu.ishikawa@gmail.com Yu Ishikawa
              mengxr Xiangrui Meng
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: