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

    https://github.com/apache/spark/pull/14830#discussion_r77530245
  
    --- Diff: docs/streaming-programming-guide.md ---
    @@ -1626,10 +1626,10 @@ See the full [source 
code]({{site.SPARK_GITHUB_URL}}/blob/v{{site.SPARK_VERSION_
     # Lazily instantiated global instance of SparkSession
     def getSparkSessionInstance(sparkConf):
         if ("sparkSessionSingletonInstance" not in globals()):
    -        globals()["sparkSessionSingletonInstance"] = SparkSession \
    -            .builder \
    -            .config(conf=sparkConf) \
    -            .getOrCreate()
    +        globals()["sparkSessionSingletonInstance"] = (SparkSession
    --- End diff --
    
    replace backslash syntax with more elegant (and pep8-recommended) 
parenthesis syntax


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

Reply via email to