GitHub user bdrillard opened a pull request:

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

    [SPARK-22826][SQL] findWiderTypeForTwo Fails over StructField of Array

    
    ## What changes were proposed in this pull request?
    
    [SPARK-22826](https://issues.apache.org/jira/browse/SPARK-22826)
    
    Attempting to find the tightest common type over a struct holding fields of 
`ArrayType` or `MapType` will fail if the types of those struct fields are not 
exactly equal. See the JIRA for an example.
    
    ## How was this patch tested?
    
    This patch adds a test case for `ArrayType` and `MapType` for finding 
tightest common types.


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

    $ git pull https://github.com/bdrillard/spark SPARK-22826

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

    https://github.com/apache/spark/pull/20010.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 #20010
    
----
commit 1ac4b0be7926d24b5cbee54e0a8b56381adda462
Author: ALeksander Eskilson <alek.eskil...@cerner.com>
Date:   2017-12-18T21:09:18Z

    [SPARK-22826] adding support for tighest type coercion over array/map types 
in a structfield

----


---

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

Reply via email to