hello-stephen commented on PR #70909:
URL: https://github.com/apache/doris/pull/70909#issuecomment-7420577211

   <!-- qe-pr-pick:v1:e990c922cd0a27c4f206d42012493086befec4a7 -->
   
   **Doris pick review**
   
   - PR: #70909
   - Patch: `cfcb9d4a45bb1681b70537010a3ab9795378975d`
   - Classification: `bugfix` (high)
   - Why: Fixes JoinEstimation sending the whole join estimate to the 
max-input-row fallback when one equijoin key has missing statistics, ignoring 
usable keys and residual predicates.
   - Evidence:
     - title prefix [fix](nereids); body declares PR Type: Bugfix
     - diff modifies existing 
JoinEstimation.estimateInnerJoin/estimateInnerJoinWithEqualPredicate paths, no 
new API or config
     - body describes a wrong-estimate scenario: mixed known and unknown 
equalities drop to max-input-row fallback
     - pre-fix early return in JoinEstimation.estimateInnerJoin is present 
verbatim on branch-4.1 and branch-4.2
   - Mode: `labeled` - added missing pick labels
   - Labels expected: 
`dev/4.1.x,dev/4.1.x-conflict,dev/4.2.x,dev/4.2.x-conflict`
   - Labels applied: `dev/4.1.x,dev/4.1.x-conflict,dev/4.2.x,dev/4.2.x-conflict`
   
   **Fields**
   
   | Field | Meaning |
   |---|---|
   | `candidate` | cherry-picks onto the branch without conflicts (same check 
as the upstream auto-pick). |
   | `conflict` | the cherry-pick reports conflicts (`null` means the check 
failed). |
   | `affected` | `false` means the problem this fix addresses does not exist 
on that branch, so no pick label is applied there. |
   | `feature` | the deterministic probe behind `affected` (`present` / `weak` 
/ `absent` / `unknown`). |
   | `gate` | for 4.1, `true` means `usercase` or `p0_*` material requires 
human review. |
   | `pick` | `official` = apply branch labels; `comment-only` = status only, 
no label. |
   
   **dev/3.1.x / branch-3.1**
   
   | candidate | conflict | affected | feature | gate | pick |
   |---|---|---|---|---|---|
   | false | true | true | present | false | comment-only |
   
   **dev/4.0.x / branch-4.0**
   
   | candidate | conflict | affected | feature | gate | pick |
   |---|---|---|---|---|---|
   | false | true | true | present | false | comment-only |
   
   **dev/4.1.x / branch-4.1**
   
   | candidate | conflict | affected | feature | gate | pick |
   |---|---|---|---|---|---|
   | false | true | true | present | false | official |
   
   **dev/4.2.x / branch-4.2**
   
   | candidate | conflict | affected | feature | gate | pick |
   |---|---|---|---|---|---|
   | false | true | true | present | false | official |
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to