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

[GitHub] spark pull request: [MINOR][DOCS] Remove remaining sqlContext in d...

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

    https://github.com/apache/spark/pull/13006#discussion_r62487499
  
    --- Diff: examples/src/main/java/org/apache/spark/examples/sql/JavaSparkSQL.java ---
    @@ -133,7 +133,7 @@ public String call(Row row) {
         // Register this DataFrame as a table.
         peopleFromJsonFile.registerTempTable("people");
     
    -    // SQL statements can be run by using the sql methods provided by sqlContext.
    +    // SQL statements can be run by using the sql methods provided by spark (SparkSession object).
    --- End diff --
    
    I am less sure if `spark (SparkSession object)` is right. It was a variable name (`sqlContext)` but for now I add `(SparkSession object)` with the variable name because it seems the name `spark` is confusing. Feel free to correct this here.


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