GitHub user cloud-fan opened a pull request:

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

    [SPARK-26313][SQL] move read related methods from Table to read related 
mix-in traits

    ## What changes were proposed in this pull request?
    
    As discussed in https://github.com/apache/spark/pull/23208/files#r239684490 
, we should put read related methods in read related mix-in traits like 
`SupportsBatchRead`, to support write-only table.
    
    In the `Append` operator, we should skip schema validation if the table is 
write-only. This will be done when we finish the write API refactor in 
https://github.com/apache/spark/pull/23208/
    
    ## How was this patch tested?
    
    existing tests.

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

    $ git pull https://github.com/cloud-fan/spark ds-read

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

    https://github.com/apache/spark/pull/23266.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 #23266
    
----
commit da520cc6e7daa36c7d7fabdb0a08d4b4341250b9
Author: Wenchen Fan <wenchen@...>
Date:   2018-12-09T08:32:51Z

    move read related methods from Table to read related mix-in traits

----


---

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

Reply via email to