kgyrtkirk commented on code in PR #16063:
URL: https://github.com/apache/druid/pull/16063#discussion_r1521654619
##########
sql/src/main/java/org/apache/druid/sql/calcite/planner/CalciteRulesManager.java:
##########
@@ -330,6 +331,7 @@ private Program buildReductionProgram(final PlannerContext
plannerContext, final
// make it impossible to convert to COALESCE.
builder.addRuleInstance(new CaseToCoalesceRule());
builder.addRuleInstance(new CoalesceLookupRule());
+ builder.addRuleInstance(new RewriteFirstValueLastValueRule());
Review Comment:
added some description as the apidoc of `RewriteFirstValueLastValueRule` -
let me know what you think!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]