You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Robert Burke (JIRA)" <ji...@apache.org> on 2019/01/18 18:43:00 UTC
[jira] [Resolved] (BEAM-3580) Do not use Go BytesCoder to encode
string
[ https://issues.apache.org/jira/browse/BEAM-3580?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Burke resolved BEAM-3580.
--------------------------------
Resolution: Fixed
Fix Version/s: Not applicable
> Do not use Go BytesCoder to encode string
> -----------------------------------------
>
> Key: BEAM-3580
> URL: https://issues.apache.org/jira/browse/BEAM-3580
> Project: Beam
> Issue Type: Bug
> Components: sdk-go
> Reporter: Henning Rohde
> Assignee: Robert Burke
> Priority: Major
> Fix For: Not applicable
>
> Time Spent: 2h 10m
> Remaining Estimate: 0h
>
> We should not use the same built-in coder for two different types. It creates the need for conversions at inopportune times in the runtime.
>
> One option would be to a custom coder that shares encoding with bytes, given that bytes are length prefixed.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)