n-oden commented on a change in pull request #15858:
URL: https://github.com/apache/beam/pull/15858#discussion_r766887718
##########
File path:
sdks/java/io/redis/src/test/java/org/apache/beam/sdk/io/redis/RedisIOTest.java
##########
@@ -205,6 +212,62 @@ public void testWriteUsingDECRBY() {
assertEquals(-1, count);
}
+ @Test
+ public void testWriteStreams() {
+ List<String> keys = Arrays.asList("a", "b", "c", "d", "e", "f", "g", "h",
"i", "j");
+ List<KV<String, Map<String, String>>> data = new ArrayList<>();
+ for (String key : keys) {
+ Map<String, String> values =
Review comment:
Oh nice, that's a much more idiomatic pattern, thank you. (Java is to
put it mildly not my primar language.)
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]