[ 
https://issues.apache.org/jira/browse/BEAM-3580?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16743367#comment-16743367
 ] 

Robert Burke commented on BEAM-3580:
------------------------------------

I'm in the process of fixing Top, and I ran into this, so I'm going to take 
this unless [~htyleo] has any objections. You'll get the review however once 
it's verified and tested properly

> 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
>          Time Spent: 1h 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)

Reply via email to