Hello Anon. E. Moose #1000171, Jenkins,

I'd like you to reexamine a change.  Please visit

    https://asterix-gerrit.ics.uci.edu/2322

to look at the new patch set (#8).

Change subject: [ASTERIXDB-2233][COMP] Factor out common conjunct from disjunct
......................................................................

[ASTERIXDB-2233][COMP] Factor out common conjunct from disjunct

- user model changes: no
- storage format changes: no
- interface changes: no

Details:
- Add a rule to factor out common conjunct from disjunct.
- Additional needed rules:
-- Remove redundant boolean expression
   e.g and(a, a)
-- Inline same boolean expressions
   e.g and(a, and(b, c))

Change-Id: I97fe7d94276f9206c076ca94814b2fa794107859
---
M 
asterixdb/asterix-algebra/src/main/java/org/apache/asterix/optimizer/base/RuleCollections.java
A asterixdb/asterix-app/data/boolean/3-var.adm
A 
asterixdb/asterix-app/src/test/resources/optimizerts/queries/tpch/q19_discounted_revenue.sqlpp
A 
asterixdb/asterix-app/src/test/resources/optimizerts/results/tpch/q19_discounted_revenue.plan
A 
asterixdb/asterix-app/src/test/resources/runtimets/queries_sqlpp/condition-optimization/factor-common-conjunct01/factor-common-conjunct01.1.ddl.sqlpp
A 
asterixdb/asterix-app/src/test/resources/runtimets/queries_sqlpp/condition-optimization/factor-common-conjunct01/factor-common-conjunct01.2.update.sqlpp
A 
asterixdb/asterix-app/src/test/resources/runtimets/queries_sqlpp/condition-optimization/factor-common-conjunct01/factor-common-conjunct01.3.query.sqlpp
A 
asterixdb/asterix-app/src/test/resources/runtimets/queries_sqlpp/condition-optimization/factor-common-conjunct02/factor-common-conjunct02.1.ddl.sqlpp
A 
asterixdb/asterix-app/src/test/resources/runtimets/queries_sqlpp/condition-optimization/factor-common-conjunct02/factor-common-conjunct02.2.update.sqlpp
A 
asterixdb/asterix-app/src/test/resources/runtimets/queries_sqlpp/condition-optimization/factor-common-conjunct02/factor-common-conjunct02.3.query.sqlpp
A 
asterixdb/asterix-app/src/test/resources/runtimets/queries_sqlpp/condition-optimization/factor-common-conjunct03/factor-common-conjunct03.1.ddl.sqlpp
A 
asterixdb/asterix-app/src/test/resources/runtimets/queries_sqlpp/condition-optimization/factor-common-conjunct03/factor-common-conjunct03.2.update.sqlpp
A 
asterixdb/asterix-app/src/test/resources/runtimets/queries_sqlpp/condition-optimization/factor-common-conjunct03/factor-common-conjunct03.3.query.sqlpp
A 
asterixdb/asterix-app/src/test/resources/runtimets/queries_sqlpp/condition-optimization/minimum-disjunct/minimum-disjunct.1.ddl.sqlpp
A 
asterixdb/asterix-app/src/test/resources/runtimets/queries_sqlpp/condition-optimization/minimum-disjunct/minimum-disjunct.2.update.sqlpp
A 
asterixdb/asterix-app/src/test/resources/runtimets/queries_sqlpp/condition-optimization/minimum-disjunct/minimum-disjunct.3.query.sqlpp
A 
asterixdb/asterix-app/src/test/resources/runtimets/queries_sqlpp/condition-optimization/redundant-conjunct-expression/redundant-conjunct-expression.1.ddl.sqlpp
A 
asterixdb/asterix-app/src/test/resources/runtimets/queries_sqlpp/condition-optimization/redundant-conjunct-expression/redundant-conjunct-expression.2.update.sqlpp
A 
asterixdb/asterix-app/src/test/resources/runtimets/queries_sqlpp/condition-optimization/redundant-conjunct-expression/redundant-conjunct-expression.3.query.sqlpp
A 
asterixdb/asterix-app/src/test/resources/runtimets/queries_sqlpp/condition-optimization/redundant-disjunct-expression/redundant-disjunct-expression.1.ddl.sqlpp
A 
asterixdb/asterix-app/src/test/resources/runtimets/queries_sqlpp/condition-optimization/redundant-disjunct-expression/redundant-disjunct-expression.2.update.sqlpp
A 
asterixdb/asterix-app/src/test/resources/runtimets/queries_sqlpp/condition-optimization/redundant-disjunct-expression/redundant-disjunct-expression.3.query.sqlpp
A 
asterixdb/asterix-app/src/test/resources/runtimets/results/condition-optimization/factor-common-conjunct01/factor-common-conjunct01.1.adm
A 
asterixdb/asterix-app/src/test/resources/runtimets/results/condition-optimization/factor-common-conjunct02/factor-common-conjunct02.1.adm
A 
asterixdb/asterix-app/src/test/resources/runtimets/results/condition-optimization/factor-common-conjunct03/factor-common-conjunct03.1.adm
A 
asterixdb/asterix-app/src/test/resources/runtimets/results/condition-optimization/minimum-disjunct/minimum-disjunct.1.adm
A 
asterixdb/asterix-app/src/test/resources/runtimets/results/condition-optimization/redundant-conjunct-expression/redundant-conjunct-expression.1.adm
A 
asterixdb/asterix-app/src/test/resources/runtimets/results/condition-optimization/redundant-disjunct-expression/redundant-disjunct-expression.1.adm
M asterixdb/asterix-app/src/test/resources/runtimets/testsuite_sqlpp.xml
A 
hyracks-fullstack/algebricks/algebricks-rewriter/src/main/java/org/apache/hyracks/algebricks/rewriter/rules/AbstractConditionExpressionRule.java
A 
hyracks-fullstack/algebricks/algebricks-rewriter/src/main/java/org/apache/hyracks/algebricks/rewriter/rules/FactorCommonConjunctionFromDisjunctionRule.java
A 
hyracks-fullstack/algebricks/algebricks-rewriter/src/main/java/org/apache/hyracks/algebricks/rewriter/rules/InlineAndRemoveRedundantBooleanExpressionsRule.java
32 files changed, 1,256 insertions(+), 0 deletions(-)


  git pull ssh://asterix-gerrit.ics.uci.edu:29418/asterixdb 
refs/changes/22/2322/8
-- 
To view, visit https://asterix-gerrit.ics.uci.edu/2322
To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings

Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I97fe7d94276f9206c076ca94814b2fa794107859
Gerrit-PatchSet: 8
Gerrit-Project: asterixdb
Gerrit-Branch: master
Gerrit-Owner: Wail Alkowaileet <wael....@gmail.com>
Gerrit-Reviewer: Ali Alsuliman <ali.al.solai...@gmail.com>
Gerrit-Reviewer: Anon. E. Moose #1000171
Gerrit-Reviewer: Dmitry Lychagin <dmitry.lycha...@couchbase.com>
Gerrit-Reviewer: Jenkins <jenk...@fulliautomatix.ics.uci.edu>
Gerrit-Reviewer: Wail Alkowaileet <wael....@gmail.com>

Reply via email to