This is an automated email from the ASF dual-hosted git repository.
rubenql pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/calcite.git
The following commit(s) were added to refs/heads/master by this push:
new 8a7e1be [CALCITE-4300] EnumerableBatchNestedLoopJoin dynamic code
generation can lead to variable name issues if two EBNLJ are nested
8a7e1be is described below
commit 8a7e1be96faa1720de828748e5ed819f32dbcdb4
Author: rubenada <[email protected]>
AuthorDate: Thu Oct 1 15:17:48 2020 +0100
[CALCITE-4300] EnumerableBatchNestedLoopJoin dynamic code generation can
lead to variable name issues if two EBNLJ are nested
---
.../calcite/adapter/enumerable/EnumerableBatchNestedLoopJoin.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/core/src/main/java/org/apache/calcite/adapter/enumerable/EnumerableBatchNestedLoopJoin.java
b/core/src/main/java/org/apache/calcite/adapter/enumerable/EnumerableBatchNestedLoopJoin.java
index de727c0..e2e7e13 100644
---
a/core/src/main/java/org/apache/calcite/adapter/enumerable/EnumerableBatchNestedLoopJoin.java
+++
b/core/src/main/java/org/apache/calcite/adapter/enumerable/EnumerableBatchNestedLoopJoin.java
@@ -162,7 +162,7 @@ public class EnumerableBatchNestedLoopJoin extends Join
implements EnumerableRel
ParameterExpression corrArg;
final ParameterExpression corrArgList =
Expressions.parameter(Modifier.FINAL,
- List.class, "corrList");
+ List.class, "corrList" + this.getId());
// Declare batchSize correlation variables
if (!Primitive.is(corrVarType)) {