[ 
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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to