bug fixed for hbase support

This commit is contained in:
温少
2012-05-22 07:45:23 +08:00
parent ec2debdfd7
commit 2d60fef9ed
2 changed files with 6 additions and 2 deletions
@@ -184,8 +184,12 @@ public class SingleTableQueryExecutePlan extends SingleTableExecutePlan {
}
}
} else {
List<Filter> filters = new ArrayList<Filter>();
filters.add(parentFilter);
filters.add(filter);
FilterList.Operator filterOp = and ? FilterList.Operator.MUST_PASS_ALL : FilterList.Operator.MUST_PASS_ONE;
return new FilterList(filterOp, parentFilter, filter);
return new FilterList(filterOp, filters);
}
}