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 19:19:37 UTC

[GitHub] [beam] kennknowles opened a new issue, #18571: In WithKeys, get coder for key more safely.

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

   In WithKeys.java currently the coder for the key type is chosen when the transform is expanded. This means that there's no way to directly get the type of the input elements, instead the type is inferred from the function or from a java Class<\> object. This means there can be mismatches between the actual type of the input and the coder used.
   
   WithKeys should be refactored to retrieve the coder in a safer way and avoid the possibility of mismatches. 
   
   Imported from Jira [BEAM-3003](https://issues.apache.org/jira/browse/BEAM-3003). Original Jira may contain additional context.
   Reported by: danoliveira.


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