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-15920) Using map on DataFrame
Date Thu, 01 Sep 2016 07:02:20 GMT

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

Sean Owen commented on SPARK-15920:
-----------------------------------

It was closed because it's a question, and that should go on the mailing list. JIRA is for
discussion of concrete changes in the source code.
You can call .map on a DataFrame anyway, and get a Dataset of the result, so the premise isn't
true. Well, at least I know that's the case for Scala.

> Using map on DataFrame
> ----------------------
>
>                 Key: SPARK-15920
>                 URL: https://issues.apache.org/jira/browse/SPARK-15920
>             Project: Spark
>          Issue Type: Bug
>          Components: PySpark
>    Affects Versions: 2.0.0
>         Environment: branch-2.0
>            Reporter: Piotr Milanowski
>
> In Spark 1.6 there was a method {{DataFrame.map}} as an alias to {{DataFrame.rdd.map}}.
In spark 2.0 this functionality no longer exists.
> Is there a preferred way of doing map on a DataFrame without explicitly calling {{DataFrame.rdd.map}}?
Maybe this functionality should be kept, just for backward compatibility purpose?



--
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