spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shivaram Venkataraman (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SPARK-8894) Example code errors in SparkR documentation
Date Wed, 08 Jul 2015 16:50:04 GMT

     [ https://issues.apache.org/jira/browse/SPARK-8894?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Shivaram Venkataraman updated SPARK-8894:
-----------------------------------------
    Assignee: Sun Rui

> Example code errors in SparkR documentation
> -------------------------------------------
>
>                 Key: SPARK-8894
>                 URL: https://issues.apache.org/jira/browse/SPARK-8894
>             Project: Spark
>          Issue Type: Bug
>          Components: Documentation, SparkR
>    Affects Versions: 1.4.0
>            Reporter: Sun Rui
>            Assignee: Sun Rui
>             Fix For: 1.4.2, 1.5.0
>
>
> There are errors in SparkR related documentation.
> 1. in https://spark.apache.org/docs/latest/sql-programming-guide.html#hive-tables, for
R part, 
> {code}
> results = sqlContext.sql("FROM src SELECT key, value").collect()
> {code}
> should be
> {code}
> results <- collect(sql(sqlContext, "FROM src SELECT key, value"))
> {code}
> 2. in https://spark.apache.org/docs/latest/sparkr.html#from-hive-tables, 
> {code}
> results <- hiveContext.sql("FROM src SELECT key, value")
> {code}
> should be
> {code}
> results <- sql(hiveContext, "FROM src SELECT key, value")
> {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


Mime
View raw message