spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sean Owen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-14005) Make RDD more compatible with Scala's collection
Date Fri, 18 Mar 2016 12:53:33 GMT

    [ 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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org


Mime
View raw message