You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@asterixdb.apache.org by "Yingyi Bu (JIRA)" <ji...@apache.org> on 2016/08/18 22:43:21 UTC

[jira] [Created] (ASTERIXDB-1590) JSON result printer need to deal with special double/float values

Yingyi Bu created ASTERIXDB-1590:
------------------------------------

             Summary: JSON result printer need to deal with special double/float values
                 Key: ASTERIXDB-1590
                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-1590
             Project: Apache AsterixDB
          Issue Type: Bug
          Components: Data Formats
            Reporter: Yingyi Bu
            Assignee: Till


To reproduce:

1. Use the clean JSON format;
2. Run: SELECT 1.0/0.0;

It will produce
{ "$1": Infinity }

Which is not a valid JSON.

The JSON printer should quote special values like Infinity, -Infinity, and NaN.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)