[
https://issues.apache.org/jira/browse/DRILL-4553?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15217163#comment-15217163
]
Khurram Faraaz commented on DRILL-4553:
---------------------------------------
Is this over Parquet or JSON or CSV data ? Can you please share the query plan
for the case where equi-join over two views returns no results ?
> 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.5.0, 1.6.0
> Reporter: Anton Fernando
> Priority: Critical
>
> 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)