[ https://issues.apache.org/jira/browse/BEAM-4759?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16540174#comment-16540174 ]
Wout Scheepers edited comment on BEAM-4759 at 7/11/18 2:37 PM: --------------------------------------------------------------- Apparently this was already fixed on master by Mairbek Khadikov (Change-Id: I767fe688e8b542c209387bac1fb0da6f6e6b99b3). Could not find ticket for this bugfix. Will check master next time instead of the latest release before creating a ticket. was (Author: wouts): Apparently this was already fixed on master by Mairbek Khadikov (Change-Id: I767fe688e8b542c209387bac1fb0da6f6e6b99b3). Could not find a duplicate ticket. Will check master next time instead of the latest release before creating a ticket. > 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)