[ 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to