fafacao86 commented on code in PR #4210:
URL: https://github.com/apache/calcite/pull/4210#discussion_r1970834762
##########
core/src/main/java/org/apache/calcite/sql2rel/SqlToRelConverter.java:
##########
@@ -2328,6 +2328,7 @@ private RexNode convertOver(Blackboard bb, SqlNode node) {
"already in window agg mode");
bb.window = window;
RexNode rexAgg = exprConverter.convertCall(bb, aggCall);
+ bb.getValidator().deriveType(bb.scope, call);
Review Comment:
I will move it up to the beginning of the convertOver() function
--
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]