Github user cloud-fan commented on the issue:

    https://github.com/apache/spark/pull/23208
  
    @rdblue I tried to add `WriteBuilder`, but there is a difference between 
read and write:
    1. for read, the `ScanBuilder` can collect many information, like column 
pruning, filter pushdown, etc. together, and create a `Scan`
    2. for write, it's just different branches, not a combination. e.g. you 
can't do append and replaceWhere at the same time.
    
    Because of this, I feel we don't need `WriterBuilder`, but just different 
mixin traits to create `Write` for different purposes.
    
    Let me know if you have other ideas. Thanks for your review!


---

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

Reply via email to