Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
currently IN extraction stops at the first level; as a result for the following query, the nested INs are not closed back.
create table t(a integer); create table t2(b integer); insert into t values (1),(2),(3),(4); insert into t2 values (1),(2),(3),(4); explain select * from t,t2 where a*a=b+3 and a in (1,2,3,4) and b in (1,2,3,4) and ( (a in (1,2) and b in (1,2) ) or (a in (2,3) and b in (2,3) ) ) ;
Attachments
Attachments
Issue Links
- relates to
-
HIVE-20704 Extend HivePreFilteringRule to support other functions
- Closed
-
HIVE-20296 Improve HivePointLookupOptimizerRule to be able to extract from more sophisticated contexts
- Closed