You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Henning Rohde (JIRA)" <ji...@apache.org> on 2018/01/31 18:35:00 UTC

[jira] [Created] (BEAM-3580) Do not use Go BytesCoder to encode string

Henning Rohde created BEAM-3580:
-----------------------------------

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


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)