This is an automated email from the ASF dual-hosted git repository. mblow pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/asterixdb.git
commit efdcf75ac00bc0df23420a0c2c9f44867cda25cd 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]> Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/17352 Reviewed-by: Michael Blow <[email protected]> Tested-by: Michael Blow <[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<>();
