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
[CALCITE-4936] Generalize FilterCalcMergeRule and ProjectCalcMergeRule #2646
Conversation
…e. Like CalcMergeRule, use only Project, Filter and Calc interfaces, which will expand the range of their applying.
core/src/main/java/org/apache/calcite/rel/rules/ProjectCalcMergeRule.java
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, only minor comments left.
General comment independent of this change: Do we really need FilterCalcMergeRule
and ProjectCalcMergeRule
? They look a bit redundant in the presence of FilterToCalcRule
ProjectToCalcRule
and CalcMergeRule
.
core/src/main/java/org/apache/calcite/rel/rules/ProjectCalcMergeRule.java
Show resolved
Hide resolved
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Shall we merge it?
@hsyuan ok for me, but please be aware that we are currently in code freeze since we are in the middle of building a new release. We could merge this patch once master re-opens. |
I will merge this in a few minutes. |
… accept any Filter/Project/Calc operator Close #2646
… accept any Filter/Project/Calc operator Close apache#2646
… accept any Filter/Project/Calc operator Close apache#2646
… accept any Filter/Project/Calc operator Close apache#2646
… accept any Filter/Project/Calc operator Close apache#2646
… accept any Filter/Project/Calc operator Close apache#2646
[CALCITE-4936] Generalize FilterCalcMergeRule and ProjectCalcMergeRule. Like CalcMergeRule, use only Project, Filter and Calc interfaces, which will expand the range of their applying.