You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Kenneth Knowles (Jira)" <ji...@apache.org> on 2022/06/03 19:20:00 UTC
[jira] [Commented] (BEAM-3003) In WithKeys, get coder for key more safely.
[ https://issues.apache.org/jira/browse/BEAM-3003?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17546735#comment-17546735 ]
Kenneth Knowles commented on BEAM-3003:
---------------------------------------
This issue has been migrated to https://github.com/apache/beam/issues/18571
> In WithKeys, get coder for key more safely.
> -------------------------------------------
>
> Key: BEAM-3003
> URL: https://issues.apache.org/jira/browse/BEAM-3003
> Project: Beam
> Issue Type: Improvement
> Components: sdk-java-core
> Reporter: Daniel Oliveira
> Priority: P3
> Labels: Clarified, starter
>
> 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.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)