DOYUNG YOON created S2GRAPH-158:

             Summary: Bug fix on org.apache.s2graph.core.types.v2.InnerVal
                 Key: S2GRAPH-158
             Project: S2Graph
          Issue Type: Sub-task
    Affects Versions: 0.2.0
            Reporter: DOYUNG YOON
            Assignee: DOYUNG YOON
            Priority: Blocker
             Fix For: 0.2.0

Current master's test failed on following environment and I think it is because 
of usage of getBytes without specifying encoding on InnerVal class.

More specifically, I think String's getBytes without encoding cause different 
 case s: String =>
        val pbr = new SimplePositionedMutableByteRange(s.getBytes.length + 3)
        val len = OrderedBytes.encodeString(pbr, s, order)

I am suggesting change String type InnerVal's serialize/deserialize to use 
UTF-8 encoding so running environment do not break test cases.

This message was sent by Atlassian JIRA

Reply via email to