Zakelly commented on code in PR #26120:
URL: https://github.com/apache/flink/pull/26120#discussion_r1947413310


##########
flink-core/src/main/java/org/apache/flink/api/common/state/v2/ReducingStateDescriptor.java:
##########
@@ -67,6 +67,23 @@ public ReducingStateDescriptor(
         this.reduceFunction = checkNotNull(reduceFunction);
     }
 
+    /**
+     * Creates a new {@code ReducingStateDescriptor} with the given name, 
type, and default value.
+     *
+     * <p>If this constructor fails (because it is not possible to describe 
the type via a class),
+     * consider using the {@link #ReducingStateDescriptor(String, 
ReduceFunction, TypeInformation)}
+     * constructor.

Review Comment:
   There is no difference for these constructors. If this fails, then use 
another, isn't this clear?



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