flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pnowojski <...@git.apache.org>
Subject [GitHub] flink pull request #4722: [FLINK-7683] Iterate over keys in KeyedStateBacken...
Date Tue, 26 Sep 2017 15:59:48 GMT
Github user pnowojski commented on a diff in the pull request:

    https://github.com/apache/flink/pull/4722#discussion_r141100065
  
    --- Diff: flink-runtime/src/main/java/org/apache/flink/runtime/state/heap/CopyOnWriteStateTable.java
---
    @@ -287,6 +289,14 @@ public S get(K key, N namespace) {
     	}
     
     	@Override
    +	public Stream<K> getKeys(N namespace) {
    +		return Arrays.stream(primaryTable)
    --- End diff --
    
    also added larger test that covers this case


---

Mime
View raw message