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

[jira] [Created] (SPARK-15996) Fix R dataframe example by removing deprecated functions

Dongjoon Hyun created SPARK-15996:
-------------------------------------

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