You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by liancheng <gi...@git.apache.org> on 2016/07/04 07:02:54 UTC

[GitHub] spark pull request #14025: [DOC][SQL] update out-of-date code snippets using...

Github user liancheng commented on a diff in the pull request:

    https://github.com/apache/spark/pull/14025#discussion_r69415295
  
    --- Diff: docs/configuration.md ---
    @@ -1564,8 +1564,8 @@ spark.sql("SET -v").show(n=200, truncate=False)
     <div data-lang="r"  markdown="1">
     
     {% highlight r %}
    -# sqlContext is an existing sqlContext.
    -properties <- sql(sqlContext, "SET -v")
    +# spark is an existing SparkSession.
    +properties <- sql(spark, "SET -v")
    --- End diff --
    
    I believe in the most recent SparkR API, you don't need to pass in the `spark` parameter to run a SQL statement now.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org