You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Suresh Ollala (JIRA)" <ji...@apache.org> on 2016/07/25 20:56:20 UTC
[jira] [Updated] (DRILL-4794) Regression: Wrong result for query
with disjunctive partition filters
[ https://issues.apache.org/jira/browse/DRILL-4794?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Suresh Ollala updated DRILL-4794:
---------------------------------
Reviewer: Rahul Challapalli
> 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)