Skip to content

branch-2.1: [fix](mtmv) Fix generate hyper graph wrongly when has filter which can not push down #43539 - #43946

Merged
yiguolei merged 1 commit into
branch-2.1from
auto-pick-43539-branch-2.1
Nov 16, 2024
Merged

branch-2.1: [fix](mtmv) Fix generate hyper graph wrongly when has filter which can not push down #43539#43946
yiguolei merged 1 commit into
branch-2.1from
auto-pick-43539-branch-2.1

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Cherry-picked from #43539

…n not push down (#43539)
### What problem does this PR solve?
Related PR: #28006
Problem Summary:
When query is as following:
select
o_orderdate,
o_shippriority,
o_comment,
l_orderkey, l_partkey
from
orders left
join lineitem on l_orderkey = o_orderkey
left join partsupp on ps_partkey = l_partkey and l_suppkey = ps_suppkey;
hyper graph is as following:
this` leftExtendedNodes` Shoule be contained both orders and lineitem,
which should be 3, but now is 2
This may cause associate wrongly when use hyper graph and materialized
view which depends on it rewrite wrongly
### Release note
Fix generate hyper graph wrongly when has filter which can not push down
@doris-robot

Copy link
Copy Markdown

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?

@doris-robot

Copy link
Copy Markdown

run buildall

@yiguoleiyiguolei reopened this Nov 16, 2024
@yiguolei
yiguolei merged commit 91dcc0e into branch-2.1Nov 16, 2024
@dataroaring
dataroaring deleted the auto-pick-43539-branch-2.1 branch December 27, 2024 07:09
Sign up for freeto 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.

3 participants

@doris-robot@yiguolei@seawinde