GitHub user niofire opened a pull request:

    https://github.com/apache/spark/pull/22593

    Fix typo & format in DataStreamWriter.scala

    ## What changes were proposed in this pull request?
    - Fixed typo for function outputMode
          - OutputMode.Complete(), changed `these is some updates` to `there 
are some updates`
    - Replaced hyphens by HTML unordered list tags in comments for 
          - outputMode(String)
          - outputMode(OutputMode)
          - partitionBy(String*)
    
    Current render from most recent [Spark API 
Docs](https://spark.apache.org/docs/2.3.1/api/java/org/apache/spark/sql/streaming/DataStreamWriter.html):
    
    
    #### outputMode(OutputMode) - Typo + List formatted as a prose.
    
    
![image](https://user-images.githubusercontent.com/2295469/46250648-11086700-c3f4-11e8-8a5a-d88b079c165d.png)
    
    #### outputMode(String) - Typo + List formatted as a prose.
    
![image](https://user-images.githubusercontent.com/2295469/46250651-24b3cd80-c3f4-11e8-9dac-ae37599afbce.png)
    
    #### partitionBy(String*) - List formatted as a prose.
    
![image](https://user-images.githubusercontent.com/2295469/46250655-36957080-c3f4-11e8-990b-47bd612d3c51.png)
    
    ## How was this patch tested?
    This PR contains a document patch ergo no functional testing is required.


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/niofire/spark fix-typo-datastreamwriter

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/22593.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #22593
    
----
commit c1a89f0455995d9d20920a8b9b45d3b6a9dcd898
Author: Mathieu St-Louis <mastloui@...>
Date:   2018-09-29T21:03:15Z

    Fix typo + replaced hyphens with html lists in DataStreamWriter

----


---

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

Reply via email to