You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Tathagata Das (JIRA)" <ji...@apache.org> on 2016/06/17 03:31:05 UTC

[jira] [Created] (SPARK-16009) DataFrameRead.json(path) compatibility broken with Spark 1.6

Tathagata Das created SPARK-16009:
-------------------------------------

             Summary: 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


{{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