Wout Scheepers created BEAM-4759:
------------------------------------
Summary: 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
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)