[ https://issues.apache.org/jira/browse/THRIFT-4915?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16987315#comment-16987315 ]
Jens Geyer commented on THRIFT-4915: ------------------------------------ I just found that this one is indeed wrong in the documentation. So I guess, in order to prevent breaking changes, we should follow the normative force of the existing reality and just fix the docs. > Deserializing double into OrderedFloat always returns zero when using > TCompactProtocol > -------------------------------------------------------------------------------------- > > Key: THRIFT-4915 > URL: https://issues.apache.org/jira/browse/THRIFT-4915 > Project: Thrift > Issue Type: Bug > Components: Rust - Library > Affects Versions: 0.12.0 > Reporter: ziming.wu > Assignee: Marcin Pajkowski > Priority: Major > Fix For: 0.14.0 > > Time Spent: 20m > Remaining Estimate: 0h > > Client: Rust + Thrift 0.12.0 > Server: CPP + Thrift 0.9.3 > Protocol: TCompactProtocol > Transport: TBufferedTransport > > I logged before cpp server response to rust client > > {code:java} > "age=21.339611053466797" > {code} > but client recieved > > > > {code:java} > age: > Some(OrderedFloat(0.00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000409415354256)) > {code} > This bug only happens when using TCompactProtocol. > > -- This message was sent by Atlassian Jira (v8.3.4#803005)