flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zentol <...@git.apache.org>
Subject [GitHub] flink pull request #2301: FLINK-3674 Add an interface for EventTime aware Us...
Date Wed, 27 Jul 2016 10:31:16 GMT
Github user zentol commented on a diff in the pull request:

    --- Diff: flink-streaming-java/src/main/java/org/apache/flink/streaming/api/operators/AbstractUdfStreamOperator.java
    @@ -55,13 +56,18 @@
     	/** the user function */
     	protected final F userFunction;
    +	protected EventTimeFunction eventTimeFunction;
     	/** Flag to prevent duplicate function.close() calls in close() and dispose() */
     	private transient boolean functionsClosed = false;
     	public AbstractUdfStreamOperator(F userFunction) {
     		this.userFunction = requireNonNull(userFunction);
    +		if(userFunction instanceof  EventTimeFunction) {
    --- End diff --
    missing space after if

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.

View raw message