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)

Reply via email to