Skip to content

[pick](Nereids)revert modificiation on clucene (#34275)#34696

Merged
englefly merged 1 commit intoapache:branch-2.1from
englefly:branch-2.1-rf-refactor
May 11, 2024
Merged

[pick](Nereids)revert modificiation on clucene (#34275)#34696
englefly merged 1 commit intoapache:branch-2.1from
englefly:branch-2.1-rf-refactor

Conversation

@englefly
Copy link
Contributor

@englefly englefly commented May 11, 2024

Proposed changes

this pr revert the modification on clucene introduced by pr #34682

Issue Number: close #xxx

Further comments

If this is a relatively large or complex change, kick off the discussion at dev@doris.apache.org by explaining why you chose the solution you did and what alternatives you considered, etc...

1. unify the process of generating rf for hash join and for nested loop join
2. fix some bugs in generating rf
3. remove some duplicated check

(cherry picked from commit 07267fa)

Revert "[pick](nereids)Runtime filter pushdown refactor for branch-2.1 (apache#34682)"

[refactor](nereids) do not deny a runtime filter by removing an entry in aliasMap (apache#34559)

in current version, there are 2 approaches to verify whether a join condition can be used to generate a runtime filter, they are
1. remove the output slot from aliasMap
2. pushDownVisitor.visit(...) return false
the 1st approach has some drawbacks, we prefer to the 2ed approach.
In this pr, all the cases are handled by the 2ed approach, and remove the related code for the 1st approach.

(cherry picked from commit a29082b)
@doris-robot
Copy link

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR

Since 2024-03-18, the Document has been moved to doris-website.
See Doris Document.

@englefly englefly changed the title [pick2.1](Nereids)refactor runtime filter generator (#34275) [pick2.1](Nereids)recovery clucent (#34275) May 11, 2024
@englefly englefly changed the title [pick2.1](Nereids)recovery clucent (#34275) [pick](Nereids)revert modificiation on clucene (#34275) May 11, 2024
@englefly
Copy link
Contributor Author

this pr revert the modification on clucene introduced by pr #34682

@englefly englefly merged commit 659f7ef into apache:branch-2.1 May 11, 2024
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.

2 participants