GitHub user bogdanrdc opened a pull request:

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

    [SPARK-23316][SQL] AnalysisException after max iteration reached for IN 
query

    ## What changes were proposed in this pull request?
    Added flag ignoreNullability to DataType.equalsStructurally.
    The previous semantic is for ignoreNullability=false.
    When ignoreNullability=true equalsStructurally ignores nullability of 
contained types (map key types, value types, array element types, structure 
field types).
    In.checkInputTypes calls equalsStructurally to check if the children types 
match. They should match regardless of nullability (which is just a hint), so 
it is now called with ignoreNullability=true.
    
    ## How was this patch tested?
    New test in SubquerySuite


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

    $ git pull https://github.com/bogdanrdc/spark SPARK-23316

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

    https://github.com/apache/spark/pull/20548.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 #20548
    
----
commit 367c70bd3aa9cf82358462deb624b7634567f0c9
Author: Bogdan Raducanu <bogdan@...>
Date:   2018-02-08T15:19:34Z

    fix + test

----


---

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

Reply via email to