[
https://issues.apache.org/jira/browse/SPARK-15920?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15454430#comment-15454430
]
Matthias Egli commented on SPARK-15920:
---------------------------------------
[~srowen] Why was this ticket closed? The documentation of Spark 2.0 still has
some examples of python code using .map directly on a DataFrame (e.g. here:
https://spark.apache.org/docs/2.0.0/sql-programming-guide.html#inferring-the-schema-using-reflection).
Also, the migration documentation does not state that the map functionality is
not supported anymore on pyspark's DataFrame in Spark 2.0
> 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: [email protected]
For additional commands, e-mail: [email protected]