Uh oh!
There was an error while loading. Please reload this page.
[fix](mtmv) Fix partition trace fail when create partition mv with view - #57958
Conversation
hello-stephen
commented
Nov 12, 2025
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
seawinde
commented
Nov 12, 2025
run buildall |
doris-robot
commented
Nov 12, 2025
TPC-H: Total hot run time: 34270 ms |
doris-robot
commented
Nov 12, 2025
TPC-DS: Total hot run time: 187562 ms |
doris-robot
commented
Nov 12, 2025
ClickBench: Total hot run time: 27.53 s |
hello-stephen
commented
Nov 12, 2025
FE Regression Coverage ReportIncrement line coverage |
451281d to
2d007b8Compareseawinde
commented
Nov 13, 2025
run buildall |
doris-robot
commented
Nov 13, 2025
TPC-H: Total hot run time: 34327 ms |
doris-robot
commented
Nov 13, 2025
TPC-DS: Total hot run time: 187354 ms |
doris-robot
commented
Nov 13, 2025
ClickBench: Total hot run time: 27.97 s |
hello-stephen
commented
Nov 13, 2025
FE UT Coverage ReportIncrement line coverage |
hello-stephen
commented
Nov 13, 2025
FE Regression Coverage ReportIncrement line coverage |
1 similar comment
hello-stephen
commented
Nov 13, 2025
FE Regression Coverage ReportIncrement line coverage |
PR approved by at least one committer and no changes requested. |
PR approved by anyone and no changes requested. |
Uh oh!
There was an error while loading. Please reload this page.
…ew (apache#57958) ### What problem does this PR solve? Related PR: apache#56423apache#56958 Problem Summary: 1. Fix partition trace fail when create partition mv with view and date_trunc 2. Fix err if use data_trunc('day', col) partition column when create partition materialized view the mv def sql would be success after this fix CREATE VIEW lineitem_daily_summary_view AS SELECT DATE_TRUNC('day', L_SHIPDATE) AS ship_date, L_RETURNFLAG, L_LINESTATUS, COUNT(*) AS order_count, SUM(L_QUANTITY) AS total_quantity, SUM(L_EXTENDEDPRICE) AS total_price, AVG(L_DISCOUNT) AS avg_discount FROM lineitem WHERE L_SHIPDATE IS NOT NULL GROUP BY ship_date, L_RETURNFLAG, L_LINESTATUS; mv def is as following SELECT ship_date, L_RETURNFLAG, SUM(order_count) AS total_orders, SUM(total_quantity) AS sum_quantity, SUM(total_price) AS sum_price, AVG(avg_discount) AS average_discount FROM lineitem_daily_summary_view GROUP BY ship_date, L_RETURNFLAG ORDER BY ship_date, L_RETURNFLAG, total_orders, sum_quantity, sum_price;
…ew (apache#57958) ### What problem does this PR solve? Related PR: apache#56423apache#56958 Problem Summary: 1. Fix partition trace fail when create partition mv with view and date_trunc 2. Fix err if use data_trunc('day', col) partition column when create partition materialized view the mv def sql would be success after this fix CREATE VIEW lineitem_daily_summary_view AS SELECT DATE_TRUNC('day', L_SHIPDATE) AS ship_date, L_RETURNFLAG, L_LINESTATUS, COUNT(*) AS order_count, SUM(L_QUANTITY) AS total_quantity, SUM(L_EXTENDEDPRICE) AS total_price, AVG(L_DISCOUNT) AS avg_discount FROM lineitem WHERE L_SHIPDATE IS NOT NULL GROUP BY ship_date, L_RETURNFLAG, L_LINESTATUS; mv def is as following SELECT ship_date, L_RETURNFLAG, SUM(order_count) AS total_orders, SUM(total_quantity) AS sum_quantity, SUM(total_price) AS sum_price, AVG(avg_discount) AS average_discount FROM lineitem_daily_summary_view GROUP BY ship_date, L_RETURNFLAG ORDER BY ship_date, L_RETURNFLAG, total_orders, sum_quantity, sum_price;
What problem does this PR solve?
Related PR: #56423#56958
Problem Summary:
the mv def sql would be success after this fix
mv def is as following
Release note
None
Check List (For Author)
Test
Behavior changed:
Does this need documentation?
Check List (For Reviewer who merge this PR)