Skip to content

branch-2.1: [fix](nereids)avoid generate Runtime filter whose target is not a base table column #48804#49311

Closed
github-actions[bot] wants to merge 1 commit intobranch-2.1from
auto-pick-48804-branch-2.1
Closed

branch-2.1: [fix](nereids)avoid generate Runtime filter whose target is not a base table column #48804#49311
github-actions[bot] wants to merge 1 commit intobranch-2.1from
auto-pick-48804-branch-2.1

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

Cherry-picked from #48804

…e table column (#48804)

### What problem does this PR solve?
avoid generate wrong rf for pattern
```
join(#5=#8)
   --> join(#7=#6)
           -->project(null as #5, #7)
                    --->scan(t1)
           -->project(#6)
                   -->scan(T2[#5, #6])
   -->scan(T3[#8])
```
`RF(#8->#5)` should not be generated.
but current version, we set RF taget to `T2.#5`
@github-actions github-actions bot requested a review from yiguolei as a code owner March 20, 2025 08:15
@hello-stephen
Copy link
Copy Markdown
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 reopened this Mar 20, 2025
@hello-stephen
Copy link
Copy Markdown
Contributor

run buildall

@morrySnow morrySnow closed this Mar 25, 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.

4 participants