Maksim Zhuravkov created IGNITE-23746:
-----------------------------------------
Summary: Sql. ItSetOpTest uses incorrect optimizer hints
Key: IGNITE-23746
URL: https://issues.apache.org/jira/browse/IGNITE-23746
Project: Ignite
Issue Type: Bug
Components: sql
Reporter: Maksim Zhuravkov
ItSetOpTest uses the same set of optimizer hints for both Minus and Intersect
operations:
{noformat}
public enum SetOpVariant {
COLOCATED("MapReduceMinusConverterRule"),
MAP_REDUCE("ColocatedMinusConverterRule");
final String[] disabledRules;
...
}
{noformat}
and uses them in tests for both EXCEPT and INTERSECT operations.
When these rules are applied to EXCEPT queries then we get the desired
behaviour (e.g. we check COLOCATED variant of EXCEPT operator when we disable
MapReduceMinusConverterRule). But when these rules are applied to INTERSECT, it
they do not have any affect because such nodes generated by different rules.
Let's fix it by introducing another IntersectOpVariant and renaming
SetOpVariant to MinusOpVariant.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)