avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Russel (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AVRO-1290) AvroCpp json text backend produces "inf" for double values of infinity but won't consume them
Date Thu, 04 Apr 2013 22:32:16 GMT

     [ https://issues.apache.org/jira/browse/AVRO-1290?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Daniel Russel updated AVRO-1290:
--------------------------------

    Attachment: patch
    
> AvroCpp json text backend produces "inf" for double values of infinity but won't consume
them
> ---------------------------------------------------------------------------------------------
>
>                 Key: AVRO-1290
>                 URL: https://issues.apache.org/jira/browse/AVRO-1290
>             Project: Avro
>          Issue Type: Bug
>          Components: c++
>            Reporter: Daniel Russel
>         Attachments: patch
>
>
> If you use the json encoder and pass it a double with value e.g. std::numeric_limits<double>::infinity()
it happily writes the literal "inf". However, the decoder chokes on that literal.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message