You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ignite.apache.org by "korlov42 (via GitHub)" <gi...@apache.org> on 2023/06/19 09:03:50 UTC

[GitHub] [ignite-3] korlov42 commented on a diff in pull request #2202: IGNITE-19621 Sql. Shrink planner search space by removing pre known not applicable indexes

korlov42 commented on code in PR #2202:
URL: https://github.com/apache/ignite-3/pull/2202#discussion_r1233749832


##########
modules/sql-engine/src/main/java/org/apache/ignite/internal/sql/engine/rule/logical/ExposeIndexRule.java:
##########
@@ -79,6 +83,14 @@ public void onMatch(RelOptRuleCall call) {
         call.transformTo(indexes.get(0), equivMap);
     }
 
+    /** Filter pre known not applicable variants. Significant shrink search space in some cases. */
+    private static boolean filter(IgniteTable table, String idxName, List<SearchBounds> searchBounds) {

Review Comment:
   With such approach pk index won't be chosen for CNLJ



-- 
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: notifications-unsubscribe@ignite.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org