[
https://issues.apache.org/jira/browse/SPARK-9316?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14717531#comment-14717531
]
Shivaram Venkataraman commented on SPARK-9316:
----------------------------------------------
I don't think supporting the "age in (19, 30)" with `[` is very important as
the %in% is more natural for R users. We should update the documentation to
reflect this if its misleading though
> Add support for filtering using `[` (synonym for filter / select)
> -----------------------------------------------------------------
>
> Key: SPARK-9316
> URL: https://issues.apache.org/jira/browse/SPARK-9316
> Project: Spark
> Issue Type: Sub-task
> Components: SparkR
> Reporter: Shivaram Venkataraman
> Assignee: Felix Cheung
> Fix For: 1.6.0, 1.5.1
>
>
> Will help us support queries of the form
> {code}
> air[air$UniqueCarrier %in% c("UA", "HA"), c(1,2,3,5:9)]
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]