hello-stephen commented on PR #71034:
URL: https://github.com/apache/doris/pull/71034#issuecomment-7420579620
<!-- qe-pr-pick:v1:92a66a9bc87c721aa09357e83e2569f6188dd376 -->
**Doris pick review**
- PR: #71034
- Patch: `d2006fb18d2c602ef7ab23049783a1bd8c2d9507`
- Classification: `bugfix` (high)
- Why: Fixes repeated visits (exponential planning slowdown) in plan-node
existence searches by adding an identity-based visited set in
PlanNode.findFirstMatching, used by hasNullAwareLeftAntiJoin when CTE consumers
share a producer root.
- Evidence:
- title prefix [fix](fe) and body states PR Type: Bugfix
- diff rewrites TreeNode.anyMatch/contains/findFirstOf to use
findFirstMatching and overrides it in PlanNode with a per-search identity set
- body describes the null-aware left anti join predicate being evaluated
13 times on a seven-node plan, causing FE planning to stall
- 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 | false | absent | false | comment-only |
**dev/4.0.x / branch-4.0**
| candidate | conflict | affected | feature | gate | pick |
|---|---|---|---|---|---|
| false | true | false | absent | false | comment-only |
**dev/4.1.x / branch-4.1**
| candidate | conflict | affected | feature | gate | pick |
|---|---|---|---|---|---|
| false | true | true | absent | false | official |
**dev/4.2.x / branch-4.2**
| candidate | conflict | affected | feature | gate | pick |
|---|---|---|---|---|---|
| false | true | true | absent | 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]