You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2022/06/03 17:33:10 UTC

[GitHub] [beam] kennknowles opened a new issue, #18379: Flatten operation should respect input type hints.

kennknowles opened a new issue, #18379:
URL: https://github.com/apache/beam/issues/18379

   Input type hints are currently not respected by the Flatten operation and instead `Any` type is chosen as a fallback. This could lead to using a pickle coder even if there was a custom coder type hint provided for input PCollections. 
   
   Also, this could lead to undesirable results, particularly, when a Flatten operation is followed by a GroupByKey operation which requires the key coder to be deterministic. Even if the user provides deterministic coder type hints to their PCollections, defaulting to Any would result in using the pickle coder (non-deterministic). As a result of this, CoGroupByKey is broken in such scenarios where input PCollection coder is deterministic for the type while pickle coder is not.   
   
   Imported from Jira [BEAM-1956](https://issues.apache.org/jira/browse/BEAM-1956). Original Jira may contain additional context.
   Reported by: vikasrk.


-- 
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: github-unsubscribe@beam.apache.org.apache.org

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