You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Thiruvalluvan M. G. (JIRA)" <ji...@apache.org> on 2018/12/28 16:26:01 UTC

[jira] [Closed] (AVRO-1290) Handling NaN and positive and negative infinities in C++ Json

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

Thiruvalluvan M. G. closed AVRO-1290.
-------------------------------------

Closing issues that got resolved in earlier releases.

> Handling NaN and positive and negative infinities in C++ Json
> -------------------------------------------------------------
>
>                 Key: AVRO-1290
>                 URL: https://issues.apache.org/jira/browse/AVRO-1290
>             Project: Apache Avro
>          Issue Type: Bug
>          Components: c++
>    Affects Versions: 1.7.3
>            Reporter: Daniel Russel
>            Assignee: Daniel Russel
>            Priority: Major
>         Attachments: AVRO-1290.patch, 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 was sent by Atlassian JIRA
(v7.6.3#76005)