GitHub user hvanhovell opened a pull request:

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

    [SPARK-23223][SQL] Make stacking dataset transforms more performant

    ## What changes were proposed in this pull request?
    It is a common pattern to apply multiple transforms to a `Dataset` (using 
`Dataset.withColumn` for example. This is currently quite expensive because we 
run `CheckAnalysis` on the full plan and create an encoder for each 
intermediate `Dataset`.
    
    ## How was this patch tested?
    Existing test should cover this.

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

    $ git pull https://github.com/hvanhovell/spark SPARK-23223

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

    https://github.com/apache/spark/pull/20402.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 #20402
    
----
commit 9d764ea298bd09bece33f11e9b5ef7893719d227
Author: Herman van Hovell <hvanhovell@...>
Date:   2018-01-26T03:38:07Z

    Only run CheckAnalysis on unchecked part of a plan, and make encoder 
binding lazy

----


---

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

Reply via email to