flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bowenli86 <...@git.apache.org>
Subject [GitHub] flink pull request #4963: [FLINK-7475] [core][DataStream API] support update...
Date Thu, 04 Jan 2018 05:17:28 GMT
Github user bowenli86 commented on a diff in the pull request:

    https://github.com/apache/flink/pull/4963#discussion_r159582105
  
    --- Diff: flink-runtime/src/main/java/org/apache/flink/runtime/state/DefaultOperatorStateBackend.java
---
    @@ -497,6 +497,15 @@ public String toString() {
     
     			return partitionOffsets;
     		}
    +
    +		@Override
    +		public void update(List<S> values) throws Exception {
    +			internalList.clear();
    +
    +			if (values != null && !values.isEmpty()) {
    --- End diff --
    
    it makes a difference as we chatted about empty list case


---

Mime
View raw message