[ https://issues.apache.org/jira/browse/SPARK-15914?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sean Zhong updated SPARK-15914: ------------------------------- Description: We removed some deprecated method in SQLContext in branch Spark 2.0. For example: {code} @deprecated("Use read.json(). This will be removed in Spark 2.0.", "1.4.0") def jsonFile(path: String): DataFrame = { read.json(path) } {code} These deprecated method may be used by existing third party data source. We probably want to add them back to remain source code level backward compatibility. was: We removed some deprecated method in SQLContext in branch Spark 2.0. For example: {code} @deprecated("Use read.json(). This will be removed in Spark 2.0.", "1.4.0") def jsonFile(path: String): DataFrame = { read.json(path) } {code} These deprecated method may be used by existing third party data source. We probably want to add them back to remain backward-compatibiity. > Add deprecated method back to SQLContext for source code backward compatiblity > ------------------------------------------------------------------------------ > > Key: SPARK-15914 > URL: https://issues.apache.org/jira/browse/SPARK-15914 > Project: Spark > Issue Type: Bug > Components: SQL > Reporter: Sean Zhong > > We removed some deprecated method in SQLContext in branch Spark 2.0. > For example: > {code} > @deprecated("Use read.json(). This will be removed in Spark 2.0.", "1.4.0") > def jsonFile(path: String): DataFrame = { > read.json(path) > } > {code} > These deprecated method may be used by existing third party data source. We > probably want to add them back to remain source code level backward > compatibility. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org