Github user dongjoon-hyun commented on a diff in the pull request:

    https://github.com/apache/spark/pull/13592#discussion_r67202506
  
    --- Diff: docs/sql-programming-guide.md ---
    @@ -363,10 +363,10 @@ In addition to simple column references and 
expressions, DataFrames also have a
     
     <div data-lang="r"  markdown="1">
     {% highlight r %}
    -sqlContext <- sparkRSQL.init(sc)
    +spark <- sparkRSQL.init(sc)
     
     # Create the DataFrame
    -df <- read.json(sqlContext, "examples/src/main/resources/people.json")
    +df <- read.json(spark, "examples/src/main/resources/people.json")
    --- End diff --
    
    We can remove the following.
    ```
    spark <- sparkRSQL.init(sc)
    ```
    And, use the following.
    ```
    df <- read.json("examples/src/main/resources/people.json")
    ```


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

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

Reply via email to