Skip to content

Commit 02ea4b0

Browse files
committed
fix
1 parent b1561d8 commit 02ea4b0

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

  • modules/sql-engine/src/main/java/org/apache/ignite/internal/sql/engine/util

modules/sql-engine/src/main/java/org/apache/ignite/internal/sql/engine/util/Commons.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@
5555
import org.apache.calcite.rel.RelCollationTraitDef;
5656
import org.apache.calcite.rel.RelNode;
5757
import org.apache.calcite.rel.core.JoinInfo;
58+
import org.apache.calcite.rel.core.TableScan;
5859
import org.apache.calcite.rel.hint.HintStrategyTable;
5960
import org.apache.calcite.rel.logical.LogicalJoin;
6061
import org.apache.calcite.rel.type.RelDataType;
@@ -93,7 +94,6 @@
9394
import org.apache.ignite.internal.sql.engine.prepare.IgniteTypeCoercion;
9495
import org.apache.ignite.internal.sql.engine.prepare.PlanningContext;
9596
import org.apache.ignite.internal.sql.engine.rel.IgniteProject;
96-
import org.apache.ignite.internal.sql.engine.rel.logical.IgniteLogicalTableScan;
9797
import org.apache.ignite.internal.sql.engine.sql.IgniteSqlCommitTransaction;
9898
import org.apache.ignite.internal.sql.engine.sql.IgniteSqlConformance;
9999
import org.apache.ignite.internal.sql.engine.sql.IgniteSqlKill;
@@ -164,8 +164,8 @@ public final class Commons {
164164
.hintStrategy(IgniteHint.ENFORCE_JOIN_ORDER.name(), JOIN)
165165
.hintStrategy(IgniteHint.DISABLE_RULE.name(), (hint, rel) -> true)
166166
.hintStrategy(IgniteHint.EXPAND_DISTINCT_AGG.name(), AGGREGATE)
167-
.hintStrategy(IgniteHint.NO_INDEX.name(), (hint, rel) -> rel instanceof IgniteLogicalTableScan)
168-
.hintStrategy(IgniteHint.FORCE_INDEX.name(), (hint, rel) -> rel instanceof IgniteLogicalTableScan)
167+
.hintStrategy(IgniteHint.NO_INDEX.name(), (hint, rel) -> rel instanceof TableScan)
168+
.hintStrategy(IgniteHint.FORCE_INDEX.name(), (hint, rel) -> rel instanceof TableScan)
169169
.hintStrategy(IgniteHint.DISABLE_DECORRELATION.name(), (hint, rel) -> true)
170170
.build()
171171
)

0 commit comments

Comments
 (0)