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

Sean Owen commented on SPARK-14005:
-----------------------------------

I think we just discussed this? nonEmpty is just !isEmpty. takeRight and 
reverse can be accomplished with sort and take. contains isn't going to be 
efficient given the nature of an RDD.
I don't think RDDs are intended to be work-alikes for Scala collections.

> Make RDD more compatible with Scala's collection 
> -------------------------------------------------
>
>                 Key: SPARK-14005
>                 URL: https://issues.apache.org/jira/browse/SPARK-14005
>             Project: Spark
>          Issue Type: Question
>          Components: Spark Core
>            Reporter: zhengruifeng
>            Priority: Trivial
>
> How about implementing some more methods for RDD to make it more compatible 
> with Scala's collection?
> Such as:
> nonEmpty, slice, takeRight, contains, last, reverse



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to