snuyanzin commented on code in PR #21934: URL: https://github.com/apache/flink/pull/21934#discussion_r1109625112
########## flink-table/flink-table-planner/src/main/java/org/apache/flink/table/planner/plan/rules/logical/FlinkAggregateExpandDistinctAggregatesRule.java: ########## @@ -470,7 +470,7 @@ private void rewriteUsingGroupingSets(RelOptRuleCall call, Aggregate aggregate) aggCall.left.filterArg, aggregate.getGroupCount(), fullGroupSet.cardinality()); - distinctAggCalls.add(newAggCall.rename(aggCall.right)); + distinctAggCalls.add(newAggCall.withName(aggCall.right)); Review Comment: deprecated at https://github.com/apache/calcite/commit/513f4d2510a47e8d0b55f35dac56785c16fa7d5f in favor of `withXXX` methods -- 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: issues-unsubscr...@flink.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org