GitHub user hvanhovell opened a pull request:

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

    [SPARK-23208][SQL] Fix code generation for complex create array (related) 
expressions

    ## What changes were proposed in this pull request?
    The `GenArrayData.genCodeToCreateArrayData` produces illegal java code when 
code splitting is enabled. This is used in `CreateArray` and `CreateMap` 
expressions for complex object arrays. 
    
    This issue is caused by a typo.
    
    ## How was this patch tested?
    Added a regression test in `complexTypesSuite`.

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

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

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

    https://github.com/apache/spark/pull/20391.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 #20391
    
----
commit 1e8449a5cbd2d97607883f75d7c3982b547dd214
Author: Herman van Hovell <hvanhovell@...>
Date:   2018-01-25T01:11:20Z

    Fix code generation for complex create array (related) expressions

----


---

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

Reply via email to