Anton Fernando created DRILL-4553:
-------------------------------------

             Summary: Joins using views are not returning results.
                 Key: DRILL-4553
                 URL: https://issues.apache.org/jira/browse/DRILL-4553
             Project: Apache Drill
          Issue Type: Bug
    Affects Versions: 1.6.0, 1.5.0
            Reporter: Anton Fernando


I have the following three views:

create view view1 as select ..... from .... where username=user;

create view view2 as select ..... from view1 as a, <file1> as b where a.col1 = 
b.col1;

create view view3 as select ..... from view1 as a, <file2> as b where a.col1 = 
b.col1;

A select * from each of these views works fine and returns the expected 
results.  A self join on view2 and view3 also works fine.  However when view2 
and view3 are joined on common keys there are no rows returned.






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

Reply via email to