drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rahul Challapalli (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (DRILL-4794) Regression: Wrong result for query with disjunctive partition filters
Date Mon, 22 Aug 2016 20:38:22 GMT

     [ https://issues.apache.org/jira/browse/DRILL-4794?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Rahul Challapalli closed DRILL-4794.
------------------------------------

> Regression: Wrong result for query with disjunctive partition filters
> ---------------------------------------------------------------------
>
>                 Key: DRILL-4794
>                 URL: https://issues.apache.org/jira/browse/DRILL-4794
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Query Planning & Optimization
>    Affects Versions: 1.7.0
>            Reporter: Aman Sinha
>            Assignee: Aman Sinha
>             Fix For: 1.8.0
>
>
> For a query that contains certain types of disjunctive filter conditions such as 'dir0=x
OR dir1=y'  we get wrong result when metadata caching is used.  This is a regression due to
DRILL-4530.  
> Note that the filter involves OR of 2 different directory levels. For the normal case
of OR condition at the same level the problem does not occur. 
> Correct result (without metadata cache) 
> {noformat}
> 0: jdbc:drill:zk=local> select count(*) from dfs.`orders` where dir0=1994 or dir1='Q3'
;
> +---------+
> | EXPR$0  |
> +---------+
> | 60      |
> +---------+
> {noformat}
> Wrong result (with metadata cache):
> {noformat}
> 0: jdbc:drill:zk=local> select count(*) from dfs.`orders` where dir0=1994 or dir1='Q3'
;
> +---------+
> | EXPR$0  |
> +---------+
> | 50      |
> +---------+
> {noformat}



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

Mime
View raw message