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

    https://github.com/apache/spark/pull/19429#discussion_r143929178
  
    --- Diff: 
examples/src/main/scala/org/apache/spark/examples/sql/SQLDataSourceExample.scala
 ---
    @@ -49,6 +49,14 @@ object SQLDataSourceExample {
         val peopleDF = 
spark.read.format("json").load("examples/src/main/resources/people.json")
         peopleDF.select("name", 
"age").write.format("parquet").save("namesAndAges.parquet")
         // $example off:manual_load_options$
    +    // $example on:manual_load_options_csv$
    +    val peopleDFCsv = spark.read.format("csv")
    +         .option("sep", ";")
    +         .option("inferSchema", "true")
    +         .option("header", "true")
    +         .load("examples/src/main/resources/people.csv")
    --- End diff --
    
    Could you change the indents of line 54-57 to 2 spaces?


---

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

Reply via email to