aaltay commented on a change in pull request #12088:
URL: https://github.com/apache/beam/pull/12088#discussion_r447379446



##########
File path: sdks/python/apache_beam/transforms/util.py
##########
@@ -741,6 +741,7 @@ def WithKeys(pcoll, k):
 
 @experimental()
 @typehints.with_input_types(Tuple[K, V])
+@typehints.with_output_types(Tuple[K, List[V]])

Review comment:
       I am thinking something like this: 
https://github.com/apache/beam/pull/12129 -- Have not really tested this yet 
beyond a unit test. I ran the the print test Udi wrote above and the output is 
batched by key.




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to