GitHub user maver1ck opened a pull request:

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

    [SPARK-22032] Speed up StructType.fromInternal

    ## What changes were proposed in this pull request?
    
    StructType.fromInternal is calling f.fromInternal(v) for every field.
    We can use needConversion method to limit the number of function calls
    
    ## How was this patch tested?
    
    Existing tests


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

    $ git pull https://github.com/maver1ck/spark spark_22032

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

    https://github.com/apache/spark/pull/19249.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 #19249
    
----
commit aa69a72d71c55e93b487ac28910b9187c0c71088
Author: Maciej Bryński <[email protected]>
Date:   2017-09-15T18:01:40Z

    Update types.py

----


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to