[ 
https://issues.apache.org/jira/browse/SPARK-8348?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14592043#comment-14592043
 ] 

Shivaram Venkataraman commented on SPARK-8348:
----------------------------------------------

[~yuu.ishik...@gmail.com] Thanks for posting the gist -- Lets continue this 
conversation in the new JIRA SPARK-8431

> Add in operator to DataFrame Column
> -----------------------------------
>
>                 Key: SPARK-8348
>                 URL: https://issues.apache.org/jira/browse/SPARK-8348
>             Project: Spark
>          Issue Type: New Feature
>          Components: SparkR, SQL
>            Reporter: Xiangrui Meng
>
> It is convenient to add "in" operator to column, so we can filter values in a 
> set.
> {code}
> df.filter(col("brand").in("dell", "sony"))
> {code}
> In R, the operator should be `%in%`.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to