This is an automated email from the ASF dual-hosted git repository.

englefly pushed a change to branch ckb2
in repository https://gitbox.apache.org/repos/asf/doris.git


    from c67aa4f3ca0 adjust single streaming threshold
     new 8a7475082ec [feature](nereids) add RewriteSimpleAggToConstantRule to 
rewrite simple agg to constant
     new ca93b6f6725 [opt](Nereids) strip redundant widening integer cast in 
SumLiteralRewrite

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../doris/nereids/jobs/executor/Rewriter.java      |   3 +
 .../org/apache/doris/nereids/rules/RuleType.java   |   1 +
 .../rewrite/RewriteSimpleAggToConstantRule.java    | 260 ++++++++++++
 .../nereids/rules/rewrite/SumLiteralRewrite.java   |  33 ++
 .../doris/nereids/stats/SimpleAggCacheMgr.java     | 456 +++++++++++++++++++++
 .../RewriteSimpleAggToConstantRuleTest.java        | 292 +++++++++++++
 .../rules/rewrite/SumLiteralRewriteTest.java       |  60 +++
 .../rewrite_simple_agg_to_constant.out             |  37 ++
 .../data/nereids_rules_p0/sumRewrite.out           |   8 +-
 .../agg_use_key_direct/agg_use_key_direct.groovy   |   2 +-
 .../suites/nereids_p0/hint/test_hint.groovy        |   2 +-
 .../rewrite_simple_agg_to_constant.groovy          | 317 ++++++++++++++
 12 files changed, 1465 insertions(+), 6 deletions(-)
 create mode 100644 
fe/fe-core/src/main/java/org/apache/doris/nereids/rules/rewrite/RewriteSimpleAggToConstantRule.java
 create mode 100644 
fe/fe-core/src/main/java/org/apache/doris/nereids/stats/SimpleAggCacheMgr.java
 create mode 100644 
fe/fe-core/src/test/java/org/apache/doris/nereids/rules/rewrite/RewriteSimpleAggToConstantRuleTest.java
 create mode 100644 
regression-test/data/nereids_rules_p0/rewrite_simple_agg_to_constant/rewrite_simple_agg_to_constant.out
 create mode 100644 
regression-test/suites/nereids_rules_p0/rewrite_simple_agg_to_constant/rewrite_simple_agg_to_constant.groovy


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to