doris
doris copied to clipboard
[pick](nereids) using mv's derived stats (#35721)
for a given mv, we have 2 stats. one is generated by stats analyzer, which is accurate, another is derived stats, which is derived when optimizer runs the mv query. If a query tree contains a mv, we will use the mv's derived stats to derive stats for the whole tree.
(cherry picked from commit a481d79b1e258f7b6711157bb0d5e4c224e680e5)
Proposed changes
Issue Number: close #xxx
Thank you for your contribution to Apache Doris. Don't know what should be done next? See How to process your PR
Since 2024-03-18, the Document has been moved to doris-website. See Doris Document.
run buildall
run p0