alex-plekhanov commented on a change in pull request #9700: URL: https://github.com/apache/ignite/pull/9700#discussion_r790757335
########## File path: modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/rule/logical/ProjectScanMergeRule.java ########## @@ -37,21 +37,20 @@ import org.apache.ignite.internal.processors.query.calcite.type.IgniteTypeFactory; import org.apache.ignite.internal.processors.query.calcite.util.Commons; import org.apache.ignite.internal.processors.query.calcite.util.RexUtils; +import org.immutables.value.Value; /** */ [email protected] public abstract class ProjectScanMergeRule<T extends ProjectableFilterableTableScan> extends RelRule<ProjectScanMergeRule.Config> { /** Instance. */ - public static final ProjectScanMergeRule<IgniteLogicalIndexScan> INDEX_SCAN = - new ProjectIndexScanMergeRule(Config.INDEX_SCAN); + public static final RelOptRule INDEX_SCAN = Config.INDEX_SCAN.toRule(); /** Instance. */ - public static final ProjectScanMergeRule<IgniteLogicalTableScan> TABLE_SCAN = - new ProjectTableScanMergeRule(Config.TABLE_SCAN); + public static final RelOptRule TABLE_SCAN = Config.TABLE_SCAN.toRule(); /** Instance. */ - public static final ProjectScanMergeRule<IgniteLogicalTableScan> TABLE_SCAN_SKIP_CORRELATED = - new ProjectTableScanMergeRule(Config.TABLE_SCAN_SKIP_CORRELATED); + public static RelOptRule TABLE_SCAN_SKIP_CORRELATED = Config.TABLE_SCAN_SKIP_CORRELATED.toRule(); Review comment: Thanks, fixed -- 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]
