-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BugFix] fix convert left outer join to inner join bug #41428
Merged
ABingHuang
merged 1 commit into
StarRocks:main
from
ABingHuang:fix_left_outer_join_plan_bug
Feb 22, 2024
Merged
[BugFix] fix convert left outer join to inner join bug #41428
ABingHuang
merged 1 commit into
StarRocks:main
from
ABingHuang:fix_left_outer_join_plan_bug
Feb 22, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Seaven
previously approved these changes
Feb 22, 2024
packy92
requested changes
Feb 22, 2024
Signed-off-by: ABingHuang <codekhuang@163.com>
ABingHuang
force-pushed
the
fix_left_outer_join_plan_bug
branch
from
February 22, 2024 12:40
8b9ac7b
to
5b87d42
Compare
packy92
approved these changes
Feb 22, 2024
Quality Gate passedIssues Measures |
Seaven
approved these changes
Feb 22, 2024
[FE Incremental Coverage Report]✅ pass : 2 / 2 (100.00%) file detail
|
[BE Incremental Coverage Report]✅ pass : 0 / 0 (0%) |
@Mergifyio backport branch-3.2 |
@Mergifyio backport branch-3.1 |
@Mergifyio backport branch-3.0 |
✅ Backports have been created
|
@Mergifyio backport branch-2.5 |
✅ Backports have been created
|
✅ Backports have been created
|
✅ Backports have been created
|
mergify bot
pushed a commit
that referenced
this pull request
Feb 22, 2024
Signed-off-by: ABingHuang <codekhuang@163.com> (cherry picked from commit 9eb8155) # Conflicts: # fe/fe-core/src/main/java/com/starrocks/sql/optimizer/OptimizerContext.java # fe/fe-core/src/main/java/com/starrocks/sql/optimizer/rule/transformation/materialization/MaterializedViewRewriter.java
18 tasks
mergify bot
pushed a commit
that referenced
this pull request
Feb 22, 2024
Signed-off-by: ABingHuang <codekhuang@163.com> (cherry picked from commit 9eb8155) # Conflicts: # fe/fe-core/src/main/java/com/starrocks/sql/optimizer/OptimizerContext.java # fe/fe-core/src/main/java/com/starrocks/sql/optimizer/rule/transformation/materialization/MaterializedViewRewriter.java
mergify bot
pushed a commit
that referenced
this pull request
Feb 22, 2024
Signed-off-by: ABingHuang <codekhuang@163.com> (cherry picked from commit 9eb8155) # Conflicts: # fe/fe-core/src/main/java/com/starrocks/sql/optimizer/OptimizerContext.java # fe/fe-core/src/main/java/com/starrocks/sql/optimizer/rule/transformation/materialization/MaterializedViewRewriter.java
This was referenced Feb 22, 2024
mergify bot
pushed a commit
that referenced
this pull request
Feb 22, 2024
Signed-off-by: ABingHuang <codekhuang@163.com> (cherry picked from commit 9eb8155)
18 tasks
wanpengfei-git
pushed a commit
that referenced
this pull request
Feb 23, 2024
…) (#41469) Co-authored-by: ABing <101158374+ABingHuang@users.noreply.github.com>
ABingHuang
added a commit
to ABingHuang/starrocks
that referenced
this pull request
Feb 23, 2024
Signed-off-by: ABingHuang <codekhuang@163.com>
ABingHuang
added a commit
to ABingHuang/starrocks
that referenced
this pull request
Feb 23, 2024
Signed-off-by: ABingHuang <codekhuang@163.com>
ABingHuang
added a commit
that referenced
this pull request
Feb 23, 2024
ABingHuang
added a commit
to ABingHuang/starrocks
that referenced
this pull request
Feb 27, 2024
Signed-off-by: ABingHuang <codekhuang@163.com>
ABingHuang
added a commit
that referenced
this pull request
Feb 27, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Why I'm doing:
left outer join is incorrecly converted into inner join, The reason is that pushdownNotNullPredicates of OptimizerContext is not clear after RewriteTreeTask rewrite retry.
What I'm doing:
reset OptimizerContext after every RewriteTreeTask run.
Fixes #issue
What type of PR is this:
Does this PR entail a change in behavior?
If yes, please specify the type of change:
Checklist:
Bugfix cherry-pick branch check: