mihaibudiu commented on code in PR #4495:
URL: https://github.com/apache/calcite/pull/4495#discussion_r2268239129


##########
core/src/main/java/org/apache/calcite/rel/core/Aggregate.java:
##########
@@ -612,7 +616,20 @@ public AggCallBinding(RelDataTypeFactory typeFactory,
         SqlAggFunction aggFunction, List<RelDataType> operands, int groupCount,
         boolean filter) {
       this(typeFactory, aggFunction, ImmutableList.of(), operands, groupCount,
-          filter);
+          filter, true);
+    }
+
+    @Deprecated
+    // This constructor will be replaced by the constructor with 
allowChangeNullable.

Review Comment:
   There is a standard way to do this using the `@deprecated` annotation.
   There are examples in the code already.
   (You need both that and `@Deprecated`)
   No need for "future tense": just tell the users what to do. When they read 
the comment, it is no longer happening in the future. Follow the other examples.



-- 
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]

Reply via email to