You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Shixiong Zhu (JIRA)" <ji...@apache.org> on 2016/06/20 23:48:57 UTC
[jira] [Resolved] (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:all-tabpanel ]
Shixiong Zhu resolved SPARK-16009.
----------------------------------
Resolution: Fixed
Fix Version/s: 2.0.0
> 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
> Fix For: 2.0.0
>
>
> {{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