Github user dongjoon-hyun commented on a diff in the pull request:

    https://github.com/apache/spark/pull/22801#discussion_r227434947
  
    --- Diff: 
examples/src/main/scala/org/apache/spark/examples/sql/SQLDataSourceExample.scala
 ---
    @@ -56,6 +56,13 @@ object SQLDataSourceExample {
           .option("header", "true")
           .load("examples/src/main/resources/people.csv")
         // $example off:manual_load_options_csv$
    +    // $example on:manual_save_options_orc$
    +    usersDF.write.format("orc")
    +      .option("orc.bloom.filter.columns", "favorite_color")
    +      .option("orc.dictionary.key.threshold", "1.0")
    +      .option("orc.column.encoding.direct", "name")
    +      .save("users_with_options.orc")
    --- End diff --
    
    Also, cc @dbtsai .
    This doc is only for Spark 3.0.0 since `orc.column.encoding.direct` is 
added to `master` branch.


---

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

Reply via email to