Toshihiro Suzuki created PHOENIX-6098:
-----------------------------------------

             Summary: IndexPredicateAnalyzer wrongly handles pushdown 
predicates and residual predicates
                 Key: PHOENIX-6098
                 URL: https://issues.apache.org/jira/browse/PHOENIX-6098
             Project: Phoenix
          Issue Type: Bug
          Components: hive-connector
            Reporter: Toshihiro Suzuki
            Assignee: Toshihiro Suzuki


Currently, the following code of IndexPredicateAnalyzer is assuming that 
GenericUDFOPAnd always has 2 children nodes. I think this is wrong and it leads 
wrong results:
https://github.com/apache/phoenix-connectors/blob/5bd23ae2a0f70c3b3edf92a53780dafa643faf26/phoenix-hive/src/main/java/org/apache/phoenix/hive/ql/index/IndexPredicateAnalyzer.java#L346-L359



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to