Matrix42 commented on a change in pull request #8243: [FLINK-12299]
ExecutionConfig#setAutoWatermarkInterval should check param(interval should not
less than zero)
URL: https://github.com/apache/flink/pull/8243#discussion_r277582959
##########
File path:
flink-core/src/main/java/org/apache/flink/api/common/ExecutionConfig.java
##########
@@ -220,6 +219,7 @@ public boolean isClosureCleanerEnabled() {
*/
@PublicEvolving
public ExecutionConfig setAutoWatermarkInterval(long interval) {
+ Preconditions.checkArgument(interval > 0, "The interval must be
greater than 0.");
Review comment:
interval >= 0
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services