Skip to content

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Dec 8, 2025

Cherry-picked from #58426

@github-actions github-actions bot requested a review from yiguolei as a code owner December 8, 2025 03:25
@hello-stephen
Copy link
Contributor

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR.

Please clearly describe your PR:

  1. What problem was fixed (it's best to include specific error reporting information). How it was fixed.
  2. Which behaviors were modified. What was the previous behavior, what is it now, why was it modified, and what possible impacts might there be.
  3. What features were added. Why was this function added?
  4. Which code was refactored and why was this part of the code refactored?
  5. Which functions were optimized and what is the difference before and after the optimization?

@dataroaring dataroaring closed this Dec 8, 2025
@dataroaring dataroaring reopened this Dec 8, 2025
@hello-stephen
Copy link
Contributor

run buildall

@yiguolei yiguolei force-pushed the auto-pick-58426-branch-4.0 branch from 18007d9 to 9543f0f Compare December 11, 2025 11:20
@yiguolei
Copy link
Contributor

run buildall

### What problem does this PR solve?

Related PR: 
#36760
#57850

Problem Summary:

Fix stats unknown when calc sync mv plan statistics

For SQLs that are related to statistics, we should not collect or
compute statistics. Previously this was determined by the `isInternal`
flag, but `isInternal` is too broad: it covers not only
statistics-related SQL but also SQL used to generate materialized view
plans. Materialized view plan generation requires statistics, so we
introduce a new flag `isPlanWithUnKnownColumnStats` to indicate
connections that are used for statistics-only operations (treat column
statistics as unknown).
@yiguolei yiguolei force-pushed the auto-pick-58426-branch-4.0 branch from 9543f0f to 4006bef Compare December 18, 2025 10:05
@yiguolei
Copy link
Contributor

run buildall

@hello-stephen
Copy link
Contributor

FE UT Coverage Report

Increment line coverage 0.00% (0/7) 🎉
Increment coverage report
Complete coverage report

@yiguolei yiguolei closed this Dec 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants