You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2022/03/31 09:21:05 UTC

[GitHub] [flink] slinkydeveloper commented on a change in pull request #19190: [FLINK-13785][table] Port time functions to new type inference

slinkydeveloper commented on a change in pull request #19190:
URL: https://github.com/apache/flink/pull/19190#discussion_r839373371



##########
File path: flink-table/flink-table-common/src/main/java/org/apache/flink/table/types/inference/CallContext.java
##########
@@ -93,6 +93,17 @@ default ValidationException newValidationError(String message, Object... args) {
         return new ValidationException(String.format(message, args));
     }
 
+    /**
+     * Shorthand for {@code if (throwOnFailure) throw ValidationException(...) else return

Review comment:
       TBH I wasn't sure where to place it, I placed it here as it's related to `newValidationError`. TBH I would rather remove `newValidationError` at some point, in order to force users to always use this method instead.




-- 
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-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org