You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Toshihiro Suzuki (Jira)" <ji...@apache.org> on 2020/08/24 08:07:00 UTC
[jira] [Created] (PHOENIX-6098) IndexPredicateAnalyzer wrongly
handles pushdown predicates and residual predicates
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)