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

    https://github.com/apache/spark/pull/19429#discussion_r143929114
  
    --- Diff: 
examples/src/main/java/org/apache/spark/examples/sql/JavaSQLDataSourceExample.java
 ---
    @@ -116,6 +116,13 @@ private static void 
runBasicDataSourceExample(SparkSession spark) {
           
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$
    +    Dataset<Row> peopleDFCsv = spark.read().format("csv")
    +              .option("sep", ";")
    +              .option("inferSchema", "true")
    +              .option("header", "true")
    --- End diff --
    
    Could you change the indents of line 121-123 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