[
https://issues.apache.org/jira/browse/BEAM-4759?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16540191#comment-16540191
]
Wout Scheepers commented on BEAM-4759:
--------------------------------------
Eventually did find the feature ticket: BEAM-1542
> SpannerIO MutationGroupEncoder wrong string encoding length
> -----------------------------------------------------------
>
> Key: BEAM-4759
> URL: https://issues.apache.org/jira/browse/BEAM-4759
> Project: Beam
> Issue Type: Bug
> Components: io-java-gcp
> Affects Versions: 2.5.0
> Reporter: Wout Scheepers
> Assignee: Chamikara Jayalath
> Priority: Major
> Fix For: 2.6.0
>
>
> When encoding a string, the MutationGroupEncoder's encodePrimitive method
> uses the string length instead of the byte array length.
> When writing strings with special chars (e.g.: 'é'), this gives problems when
> decoding.
> Decoding happens according to the byte array length and is implemented
> correctly.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)