You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2016/06/16 18:14:05 UTC
[jira] [Commented] (SPARK-15996) Fix R dataframe example by
removing deprecated functions
[ https://issues.apache.org/jira/browse/SPARK-15996?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15334362#comment-15334362 ]
Apache Spark commented on SPARK-15996:
--------------------------------------
User 'dongjoon-hyun' has created a pull request for this issue:
https://github.com/apache/spark/pull/13714
> Fix R dataframe example 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
>
> Currently, R dataframe example fails like the following. We had better update that before releasing 2.0 RC. This issue update that 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