[ 
https://issues.apache.org/jira/browse/DRILL-4927?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15616128#comment-15616128
 ] 

ASF GitHub Bot commented on DRILL-4927:
---------------------------------------

GitHub user KulykRoman opened a pull request:

    https://github.com/apache/drill/pull/635

    DRILL-4927 (part 2): Add support for Null Equality Joins (mixed compa…

    …rators)
    
    This changes are a subset of the original pull request from DRILL-4539 
(PR-462).
    - Added changes to support mixed comparators;
    - Added tests for it.

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

    $ git pull https://github.com/KulykRoman/drill DRILL-4927

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

    https://github.com/apache/drill/pull/635.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 #635
    
----
commit 47abbd9aa21443d76bb58b001d3f8a2e36511a7f
Author: Roman Kulyk <[email protected]>
Date:   2016-10-28T13:26:53Z

    DRILL-4927 (part 2): Add support for Null Equality Joins (mixed comparators)
    
    This changes are a subset of the original pull request from DRILL-4539 
(PR-462).
    - Added changes to support mixed comparators;
    - Added tests for it.

----


> Add support for Null Equality Joins
> -----------------------------------
>
>                 Key: DRILL-4927
>                 URL: https://issues.apache.org/jira/browse/DRILL-4927
>             Project: Apache Drill
>          Issue Type: Improvement
>          Components: Query Planning & Optimization
>    Affects Versions: 1.8.0
>            Reporter: Roman
>            Assignee: Aman Sinha
>              Labels: doc-impacting
>             Fix For: 1.9.0
>
>
> Join with an equality condition which allows null=null fails. For example, if 
> we use some of this queries:
> {code:sql}
> select ... FROM t1, t2 WHERE t1.c1 = t2.c2 OR (t1.c1 IS NULL AND t2.c2 IS 
> NULL);
> select ... FROM t1 INNER JOIN  t2 ON  t1.c1 = t2.c2 OR (t1.c1 IS NULL AND 
> t2.c2 IS NULL);
> {code}
> we got "UNSUPPORTED_OPERATION ERROR". We should add support for this option.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to