Evgeny Stanilovsky created IGNITE-29253:
-------------------------------------------
Summary: Calcite. Fix erroneous implementation for
RexUtils#buildHashSearchBounds
Key: IGNITE-29253
URL: https://issues.apache.org/jira/browse/IGNITE-29253
Project: Ignite
Issue Type: Bug
Components: sql
Affects Versions: 2.20
Reporter: Evgeny Stanilovsky
Assignee: Evgeny Stanilovsky
Some plans been changed after IGNITE-28899 and errors are rized.
In buildHashSearchBounds, the field index was recomputed via
mapping.getSourceOpt inside the loop over the field's predicates. When there
are two equality predicates on the same field, the second recomputation takes
the already-projected index, and the inverse mapping goes out of bounds.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)