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



##########
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])
[email protected]_output_types(Tuple[K, List[V]])

Review comment:
       > Thank you. This might be a bug with whatever runner Udi used (one of 
the direct runners). I am still puzzled by what would be a good implementation 
of this case in batch. Would a naive implementation be always insert a shuffle, 
and use an memory backed state store for the batch case?
   
   Using an in memory representation is exactly what is done for all Beam 
runners today and can only be done because these runners execute the whole 
stage for a single key within a single bundle.




----------------------------------------------------------------
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:
[email protected]


Reply via email to