You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Shivaram Venkataraman (JIRA)" <ji...@apache.org> on 2016/06/16 19:47:05 UTC
[jira] [Resolved] (SPARK-15996) Fix R examples by removing
deprecated functions
[ https://issues.apache.org/jira/browse/SPARK-15996?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shivaram Venkataraman resolved SPARK-15996.
-------------------------------------------
Resolution: Fixed
Fix Version/s: 2.0.0
Issue resolved by pull request 13714
[https://github.com/apache/spark/pull/13714]
> Fix R examples by removing deprecated functions
> -----------------------------------------------
>
> Key: SPARK-15996
> URL: https://issues.apache.org/jira/browse/SPARK-15996
> Project: Spark
> Issue Type: Bug
> Components: Examples
> Reporter: Dongjoon Hyun
> Priority: Minor
> Fix For: 2.0.0
>
>
> Currently, R examples(dataframe.R and data-manipulation.R) fail like the following. We had better update those before releasing 2.0 RC. This issue updates them to use up-to-date APIs.
> {code}
> $ bin/spark-submit examples/src/main/r/dataframe.R
> ...
> Warning message:
> 'createDataFrame(sqlContext...)' is deprecated.
> Use 'createDataFrame(data, schema = NULL, samplingRatio = 1.0)' instead.
> See help("Deprecated")
> ...
> Warning message:
> 'read.json(sqlContext...)' is deprecated.
> Use 'read.json(path)' instead.
> See help("Deprecated")
> ...
> Error: could not find function "registerTempTable"
> Execution halted
> {code}
--
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