You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Reynold Xin (JIRA)" <ji...@apache.org> on 2015/06/19 08:15:00 UTC
[jira] [Resolved] (SPARK-8348) Add in operator to DataFrame Column
[ https://issues.apache.org/jira/browse/SPARK-8348?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Reynold Xin resolved SPARK-8348.
--------------------------------
Resolution: Fixed
Fix Version/s: 1.5.0
Assignee: Yu Ishikawa
> 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
> Assignee: Yu Ishikawa
> Fix For: 1.5.0
>
>
> 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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org