flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aljoscha <...@git.apache.org>
Subject [GitHub] flink pull request #2768: [FLINK-5023][FLINK-5024] Add SimpleStateDescriptor...
Date Tue, 22 Nov 2016 17:03:55 GMT
Github user aljoscha commented on a diff in the pull request:

    --- Diff: flink-streaming-java/src/main/java/org/apache/flink/streaming/api/operators/AbstractStreamOperator.java
    @@ -487,7 +487,7 @@ protected ProcessingTimeService getProcessingTimeService() {
     	 * @throws IllegalStateException Thrown, if the key/value state was already initialized.
     	 * @throws Exception Thrown, if the state backend cannot create the key/value state.
    -	protected <S extends State> S getPartitionedState(StateDescriptor<S, ?>
stateDescriptor) throws Exception {
    +	protected <V, S extends State<V>> S getPartitionedState(StateDescriptor<S>
stateDescriptor) throws Exception {
    --- End diff --
    Here, the same thing I mentioned on `KeyedStateBackend` holds, we don't need the additional
`V` parameter.

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