This is an automated email from the ASF dual-hosted git repository.
alsuliman pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/asterixdb.git
The following commit(s) were added to refs/heads/master by this push:
new e428d12751 [NO ISSUE][COMP] Reset singleDatasetPreds when init'ing
JoinEnum
e428d12751 is described below
commit e428d127517f0cbbfa91c8c9a37704b11ca65d7b
Author: Ali Alsuliman <[email protected]>
AuthorDate: Fri Oct 14 11:56:32 2022 -0700
[NO ISSUE][COMP] Reset singleDatasetPreds when init'ing JoinEnum
- user model changes: no
- storage format changes: no
- interface changes: no
Details:
Change-Id: I287553169add5e0e9fc49388d4838078144cd7b1
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/17240
Integration-Tests: Jenkins <[email protected]>
Tested-by: Jenkins <[email protected]>
Reviewed-by: Ali Alsuliman <[email protected]>
Reviewed-by: Wail Alkowaileet <[email protected]>
---
.../src/main/java/org/apache/asterix/optimizer/rules/cbo/JoinEnum.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/asterixdb/asterix-algebra/src/main/java/org/apache/asterix/optimizer/rules/cbo/JoinEnum.java
b/asterixdb/asterix-algebra/src/main/java/org/apache/asterix/optimizer/rules/cbo/JoinEnum.java
index 306bad91ad..b1a6fb64eb 100644
---
a/asterixdb/asterix-algebra/src/main/java/org/apache/asterix/optimizer/rules/cbo/JoinEnum.java
+++
b/asterixdb/asterix-algebra/src/main/java/org/apache/asterix/optimizer/rules/cbo/JoinEnum.java
@@ -100,7 +100,6 @@ public class JoinEnum {
protected ICostMethods costMethods;
public JoinEnum() {
- singleDatasetPreds = new ArrayList<>();
}
public void initEnum(AbstractLogicalOperator op, boolean cboMode, boolean
cboTestMode, int numberOfFromTerms,
@@ -108,6 +107,7 @@ public class JoinEnum {
Map<EmptyTupleSourceOperator, ILogicalOperator>
joinLeafInputsHashMap,
Map<DataSourceScanOperator, EmptyTupleSourceOperator>
dataSourceEmptyTupleHashMap,
List<ILogicalOperator> internalEdges, List<ILogicalOperator>
joinOps, IOptimizationContext context) {
+ this.singleDatasetPreds = new ArrayList<>();
this.joinConditions = new ArrayList<>();
this.internalEdges = new ArrayList<>();
this.allPlans = new ArrayList<>();