alex-plekhanov commented on a change in pull request #9671:
URL: https://github.com/apache/ignite/pull/9671#discussion_r793723361
##########
File path:
modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/rule/logical/ExposeIndexRule.java
##########
@@ -68,6 +68,9 @@ private static boolean preMatch(IgniteLogicalTableScan scan) {
RexNode condition = scan.condition();
ImmutableBitSet requiredCols = scan.requiredColumns();
+ if (igniteTable.isIndexRebuildInProgress())
Review comment:
Calcite has some invariant and asserts preMatch after the rule is
processed, so, in case of concurrent index rebuild flag change, there will be
assertion error.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]