This is an automated email from the ASF dual-hosted git repository.
xuyang pushed a change to branch auto-pick-58038-branch-4.0
in repository https://gitbox.apache.org/repos/asf/doris.git
from 393cc7edf7b [fix](mtmx) Fix coredump because common expr push down to
scannode which belongs to an agg materialized view (#58038)
add c8f7784acac branch-4.0:[feature](mtmv)create mtmv can use view
(#56423) (#58010)
add f712c5b6e30 branch-4.0: [thirdparty](patch) Support a better way to
get offset in cctz #57999 (#58059)
add 27d4588f5f4 branch-4.0: [regression-test](variant) use s3load instead
of stream load in variant_p2 test #56795 (#58076)
add ce11bb7345d branch-4.0: [enhance](job) terminate streaming task
execute threads promptly when idle #58041 (#58064)
add 74e1a1e5b6b branch-4.0: [fix](nereids) Fix aggregate source repeat
output is different from child repeat #57840 (#58088)
add c95c747eb3a Merge branch 'branch-4.0' into auto-pick-58038-branch-4.0
No new revisions were added by this update.
Summary of changes:
.../main/java/org/apache/doris/common/Config.java | 6 +-
.../main/java/org/apache/doris/alter/Alter.java | 9 +-
.../main/java/org/apache/doris/catalog/MTMV.java | 34 ++-
.../apache/doris/datasource/InternalCatalog.java | 9 +-
.../apache/doris/job/extensions/mtmv/MTMVTask.java | 63 ++---
.../job/scheduler/StreamingTaskScheduler.java | 24 +-
.../{EnvInfo.java => MTMVAnalyzeQueryInfo.java} | 45 ++--
.../org/apache/doris/mtmv/MTMVHookService.java | 14 ++
.../java/org/apache/doris/mtmv/MTMVJobManager.java | 9 +
.../org/apache/doris/mtmv/MTMVPartitionInfo.java | 19 ++
.../org/apache/doris/mtmv/MTMVPartitionUtil.java | 8 +-
.../java/org/apache/doris/mtmv/MTMVPlanUtil.java | 261 ++++++++++++++++++++-
.../doris/mtmv/MTMVRefreshPartitionSnapshot.java | 6 +-
.../java/org/apache/doris/mtmv/MTMVRelation.java | 34 ++-
.../org/apache/doris/mtmv/MTMVRelationManager.java | 99 ++++++--
.../org/apache/doris/mtmv/MTMVRewriteUtil.java | 2 +-
.../java/org/apache/doris/mtmv/MTMVService.java | 18 +-
.../main/java/org/apache/doris/mtmv/MTMVUtil.java | 10 +-
.../org/apache/doris/nereids/CascadesContext.java | 4 +-
.../org/apache/doris/nereids/NereidsPlanner.java | 2 +-
.../org/apache/doris/nereids/StatementContext.java | 23 ++
.../executor/TableCollectAndHookInitializer.java | 16 +-
.../rules/analysis/CollectOneLevelRelation.java | 4 +-
.../nereids/rules/analysis/CollectRelation.java | 19 +-
.../exploration/mv/MaterializedViewUtils.java | 13 +-
.../trees/copier/LogicalPlanDeepCopier.java | 8 +-
.../plans/commands/UpdateMvByPartitionCommand.java | 6 +-
.../trees/plans/commands/info/CreateMTMVInfo.java | 174 +-------------
.../trees/plans/logical/LogicalAggregate.java | 7 +
.../trees/plans/logical/LogicalCheckPolicy.java | 17 ++
.../doris/tablefunction/MetadataGenerator.java | 29 ++-
.../apache/doris/mtmv/MTMVPartitionUtilTest.java | 2 +-
.../org/apache/doris/mtmv/MTMVPlanUtilTest.java | 229 +++++++++++++++++-
.../apache/doris/mtmv/MTMVRelationManagerTest.java | 42 ++--
.../org/apache/doris/mtmv/MTMVRelationTest.java | 117 +++++++++
.../apache/doris/mtmv/MTMVSchemaChangeTest.java | 94 ++++++++
.../java/org/apache/doris/mtmv/MTMVTaskTest.java | 3 +-
.../test/java/org/apache/doris/mtmv/MTMVTest.java | 5 +-
.../trees/copier/LogicalPlanDeepCopierTest.java | 76 +++++-
.../org/apache/doris/nereids/util/PlanChecker.java | 6 +-
.../apache/doris/utframe/TestWithFeService.java | 7 +
.../data/mtmv_p0/test_create_mtmv_with_view.out | 30 +++
.../mtmv_p0/test_create_mtmv_with_view_alter.out | 19 ++
.../test_create_mtmv_with_view_alter_table.out | 19 ++
.../test_create_mtmv_with_view_commit.out} | 8 +-
.../test_create_mtmv_with_view_cte.out} | 8 +-
.../mtmv_p0/test_create_mtmv_with_view_mtmv.out | 20 ++
.../mtmv_p0/test_create_mtmv_with_view_pct.out | 21 ++
.../test_create_mtmv_with_view_rollup.out} | 12 +-
...mtmv.out => test_limit_partition_view_mtmv.out} | 0
...{test_hive_mtmv.out => test_view_hive_mtmv.out} | 27 ---
.../suites/mtmv_p0/test_build_mtmv.groovy | 15 --
...mv.groovy => test_create_mtmv_with_view.groovy} | 103 ++++----
...ovy => test_create_mtmv_with_view_alter.groovy} | 55 +++--
... test_create_mtmv_with_view_alter_table.groovy} | 60 +++--
...vy => test_create_mtmv_with_view_commit.groovy} | 31 ++-
...roovy => test_create_mtmv_with_view_cte.groovy} | 68 +++---
.../mtmv_p0/test_create_mtmv_with_view_mtmv.groovy | 126 ++++++++++
.../mtmv_p0/test_create_mtmv_with_view_pct.groovy | 103 ++++++++
...vy => test_create_mtmv_with_view_rollup.groovy} | 59 +++--
...roovy => test_limit_partition_view_mtmv.groovy} | 64 +++--
...hive_mtmv.groovy => test_view_hive_mtmv.groovy} | 42 ++--
regression-test/suites/variant_p2/load.groovy | 4 +-
thirdparty/download-thirdparty.sh | 5 +-
thirdparty/patches/cctz-lookup-offset.patch | 172 ++++++++++++++
65 files changed, 1991 insertions(+), 653 deletions(-)
copy fe/fe-core/src/main/java/org/apache/doris/mtmv/{EnvInfo.java =>
MTMVAnalyzeQueryInfo.java} (52%)
create mode 100644
fe/fe-core/src/test/java/org/apache/doris/mtmv/MTMVRelationTest.java
create mode 100644
fe/fe-core/src/test/java/org/apache/doris/mtmv/MTMVSchemaChangeTest.java
create mode 100644 regression-test/data/mtmv_p0/test_create_mtmv_with_view.out
create mode 100644
regression-test/data/mtmv_p0/test_create_mtmv_with_view_alter.out
create mode 100644
regression-test/data/mtmv_p0/test_create_mtmv_with_view_alter_table.out
copy regression-test/data/{nereids_syntax_p0/test_nereids_function.out =>
mtmv_p0/test_create_mtmv_with_view_commit.out} (69%)
copy regression-test/data/{nereids_syntax_p0/test_nereids_function.out =>
mtmv_p0/test_create_mtmv_with_view_cte.out} (67%)
create mode 100644
regression-test/data/mtmv_p0/test_create_mtmv_with_view_mtmv.out
create mode 100644
regression-test/data/mtmv_p0/test_create_mtmv_with_view_pct.out
copy
regression-test/data/{mtmv_up_down_olap_p0/test_upgrade_downgrade_olap_mtmv.out
=> mtmv_p0/test_create_mtmv_with_view_rollup.out} (59%)
copy regression-test/data/mtmv_p0/{test_limit_partition_mtmv.out =>
test_limit_partition_view_mtmv.out} (100%)
copy regression-test/data/mtmv_p0/{test_hive_mtmv.out =>
test_view_hive_mtmv.out} (55%)
copy regression-test/suites/mtmv_p0/{test_excluded_trigger_table_mtmv.groovy
=> test_create_mtmv_with_view.groovy} (52%)
copy regression-test/suites/mtmv_p0/{test_truncate_table_mtmv.groovy =>
test_create_mtmv_with_view_alter.groovy} (57%)
copy regression-test/suites/mtmv_p0/{test_truncate_table_mtmv.groovy =>
test_create_mtmv_with_view_alter_table.groovy} (57%)
copy regression-test/suites/mtmv_p0/{test_create_view_mtmv.groovy =>
test_create_mtmv_with_view_commit.groovy} (76%)
copy regression-test/suites/mtmv_p0/{test_base_recreate_on_commit_mtmv.groovy
=> test_create_mtmv_with_view_cte.groovy} (61%)
create mode 100644
regression-test/suites/mtmv_p0/test_create_mtmv_with_view_mtmv.groovy
create mode 100644
regression-test/suites/mtmv_p0/test_create_mtmv_with_view_pct.groovy
copy regression-test/suites/mtmv_p0/{test_alter_job_mtmv.groovy =>
test_create_mtmv_with_view_rollup.groovy} (56%)
copy regression-test/suites/mtmv_p0/{test_limit_partition_mtmv.groovy =>
test_limit_partition_view_mtmv.groovy} (83%)
copy regression-test/suites/mtmv_p0/{test_hive_mtmv.groovy =>
test_view_hive_mtmv.groovy} (75%)
create mode 100644 thirdparty/patches/cctz-lookup-offset.patch
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]