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 [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]