RanJinh commented on code in PR #23000: URL: https://github.com/apache/flink/pull/23000#discussion_r1267862410
########## flink-core/src/main/java/org/apache/flink/api/common/functions/Function.java: ########## @@ -27,4 +28,16 @@ * method) interfaces that can be implemented via Java 8 lambdas. */ @Public -public interface Function extends java.io.Serializable {} +public interface Function extends java.io.Serializable { + /** Returns true iff the operator can only emit records after inputs have reached EOF. */ + @Internal + default boolean isOutputEOF() { Review Comment: Thanks for your comments! I simply want to provide a method for user defined function to determine the OperatorAttribute directly. Indeed, it does not make sense to connect `Function` and `OperatorAttribute` together. I will modify this later. -- 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