GitHub user bogdanrdc opened a pull request:

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

    ## 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 SPARK-23316

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

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:
For additional commands, e-mail:

Reply via email to