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

    https://github.com/apache/spark/pull/16856#discussion_r101275550
  
    --- Diff: docs/programming-guide.md ---
    @@ -153,13 +149,12 @@ JavaSparkContext sc = new JavaSparkContext(conf);
     
     <div data-lang="python"  markdown="1">
     
    -The first thing a Spark program must do is to create a 
[SparkContext](api/python/pyspark.html#pyspark.SparkContext) object, which 
tells Spark
    -how to access a cluster. To create a `SparkContext` you first need to 
build a [SparkConf](api/python/pyspark.html#pyspark.SparkConf) object
    -that contains information about your application.
    +The first thing a Spark program must do is to create a 
[SparkSession](api/python/pyspark.html#pyspark.sql.SparkSession) object, which 
tells Spark
    +how to access a cluster. To create a `SparkSession`, you first need to 
call `SparkSession.builder` to get the builder, then set
    +information about your application via the builder, and finall call 
`getOrCreate` on the builder to get the `SparkSession` instance.
    --- End diff --
    
    `finall` &rarr; `finally`


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