[
https://issues.apache.org/jira/browse/SPARK-16009?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Apache Spark reassigned SPARK-16009:
------------------------------------
Assignee: Tathagata Das (was: Apache Spark)
> 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: [email protected]
For additional commands, e-mail: [email protected]