GitHub user mgaido91 opened a pull request:

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

    [SPARK-22413][SQL] Type coercion for IN is not coherent between Literals 
and subquery

    
    ## What changes were proposed in this pull request?
    
    Now, type coercion for IN is not coherent between Literals and subquery. 
This PR changes the behavior for the case with literals and makes it coherent 
with the case of the subquery and also with the binary comparisons.
    
    
    ## How was this patch tested?
    
    Added UT


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

    $ git pull https://github.com/mgaido91/spark SPARK-22413

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

    https://github.com/apache/spark/pull/19635.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 #19635
    
----
commit 8fb9c9d423097a706187cf3484c74186d3490ead
Author: Marco Gaido <mga...@hortonworks.com>
Date:   2017-11-01T20:46:18Z

    [SPARK-22413][SQL] Type coercion for IN is not coherent between Literals 
and subquery

----


---

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

Reply via email to