Jesus Camacho Rodriguez created HIVE-12044: ----------------------------------------------
Summary: Extend HivePreFilteringRule to cover more cases Key: HIVE-12044 URL: https://issues.apache.org/jira/browse/HIVE-12044 Project: Hive Issue Type: Bug Components: CBO Affects Versions: 2.0.0 Reporter: Jesus Camacho Rodriguez Assignee: Jesus Camacho Rodriguez The logic of traversing expressions (ExtractCommonOperands) is not recursive and misses many of the use cases. Also check for comparison need to take in to account functions (ex: ((x+y)=10 and z=1) or ((x+y)=10 and z=2) ). Cc'ed [~jpullokkaran] -- This message was sent by Atlassian JIRA (v6.3.4#6332)