You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2016/06/17 03:41:05 UTC
[jira] [Commented] (SPARK-16009) DataFrameRead.json(path)
compatibility broken with Spark 1.6
[ https://issues.apache.org/jira/browse/SPARK-16009?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15335341#comment-15335341 ]
Apache Spark commented on SPARK-16009:
--------------------------------------
User 'tdas' has created a pull request for this issue:
https://github.com/apache/spark/pull/13727
> DataFrameRead.json(path) compatibility broken with Spark 1.6
> ------------------------------------------------------------
>
> Key: SPARK-16009
> URL: https://issues.apache.org/jira/browse/SPARK-16009
> Project: Spark
> Issue Type: Bug
> Reporter: Tathagata Das
> Assignee: Tathagata Das
>
> {{DataFrameRead.json(string)}} was removed as it was covered by {{DataFrameRead.json(string-varargs) }}. But this breaks compilation where the compiler needs a method with single arg. Example
> {code}
> Option(path).map(spark.read.json)
> {code}
> This works in 1.6 and does not compile in 2.0.
--
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