GitHub user aray opened a pull request:

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

    [SPARK-21110][SQL] Structs, arrays, and other orderable datatypes should be 
usable in inequalities

    ## What changes were proposed in this pull request?
    
    Allows `BinaryComparison` operators to work on any data type that actually 
supports ordering as verified by `TypeUtils.checkForOrderingExpr` instead of 
relying on the incomplete list `TypeCollection.Ordered` (which is removed by 
this PR).
    
    ## How was this patch tested?
    
    Updated unit tests to cover structs and arrays.


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

    $ git pull https://github.com/aray/spark SPARK-21110

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

    https://github.com/apache/spark/pull/18818.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 #18818
    
----
commit cf29fc5f931e2a650eaeb6b4c08ed6e457f1b073
Author: Andrew Ray <[email protected]>
Date:   2017-08-01T20:52:03Z

    should work needs tests

commit 0d1fd568f2af298bfb72ed8ca2f2560fa935b6f6
Author: Andrew Ray <[email protected]>
Date:   2017-08-02T14:57:54Z

    update unit test with array and struct types

----


---
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