[
https://issues.apache.org/jira/browse/AVRO-1688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14623242#comment-14623242
]
Tom White commented on AVRO-1688:
---------------------------------
Users will only get unexpected results with unions of double and long if they
do equality tests. The semantics of equality between Bignum and Float changed
in Ruby itself, so I don't think we need to make any changes in Avro.
> Ruby test_union(TestIO) is failing
> ----------------------------------
>
> Key: AVRO-1688
> URL: https://issues.apache.org/jira/browse/AVRO-1688
> Project: Avro
> Issue Type: Bug
> Components: ruby
> Reporter: Tom White
> Assignee: Tom White
> Priority: Blocker
> Fix For: 1.8.0
>
> Attachments: AVRO-1688.patch
>
>
> The failure message is
> {noformat}
> 1) Failure:
> test_union(TestIO) [/Users/tom/workspace/avro/lang/ruby/test/test_io.rb:340]:
> <-3372032630846393039> expected but was
> <-3.372032630846393e+18>.
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)