GitHub user bogdanrdc opened a pull request:

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

    [SPARK-21228][SQL][BRANCH-2.2] InSet incorrect handling of structs

    ## What changes were proposed in this pull request?
    
    This is backport of https://github.com/apache/spark/pull/18455
    When data type is struct, InSet now uses TypeUtils.getInterpretedOrdering 
(similar to EqualTo) to build a TreeSet. In other cases it will use a HashSet 
as before (which should be faster). Similarly, In.eval uses Ordering.equiv 
instead of equals.
    
    ## How was this patch tested?
    New test in SQLQuerySuite.


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

    $ git pull https://github.com/bogdanrdc/spark SPARK-21228-BRANCH2.2

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

    https://github.com/apache/spark/pull/18563.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 #18563
    
----
commit fe09c9a032e6931e021adf55d90a09a2ca818333
Author: Bogdan Raducanu <[email protected]>
Date:   2017-07-07T11:42:09Z

    ported fix

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to