From c22097ad1fc0fdb5a8e948332d637d30f5005786 Mon Sep 17 00:00:00 2001 From: Ulrich Kramer Date: Fri, 3 May 2024 07:12:52 +0200 Subject: [PATCH] EXPB-2264 Make Join for CR41CSW fast --- .../java/org/apache/calcite/linq4j/EnumerableDefaults.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/linq4j/src/main/java/org/apache/calcite/linq4j/EnumerableDefaults.java b/linq4j/src/main/java/org/apache/calcite/linq4j/EnumerableDefaults.java index 34819551d82..7a63470d451 100644 --- a/linq4j/src/main/java/org/apache/calcite/linq4j/EnumerableDefaults.java +++ b/linq4j/src/main/java/org/apache/calcite/linq4j/EnumerableDefaults.java @@ -1989,9 +1989,6 @@ public static Enumerable nestedLoopJoin( final Predicate2 predicate, Function2 resultSelector, final JoinType joinType) { - if (!joinType.generatesNullsOnLeft()) { - return nestedLoopJoinOptimized(outer, inner, predicate, resultSelector, joinType); - } return nestedLoopJoinAsList(outer, inner, predicate, resultSelector, joinType); }