You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@asterixdb.apache.org by "James Fang (Jira)" <ji...@apache.org> on 2019/10/03 18:32:09 UTC

[jira] [Created] (ASTERIXDB-2650) Typo in the documentation for the function to_atomic

James Fang created ASTERIXDB-2650:
-------------------------------------

             Summary: Typo in the documentation for the function to_atomic
                 Key: ASTERIXDB-2650
                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-2650
             Project: Apache AsterixDB
          Issue Type: Bug
          Components: DOC - Documentation
            Reporter: James Fang


Under the built-in functions section of the documentation. The example queries list the following, but clearly, the last function call should be to_atomic rather than to_number for v5. The output is correct, but the example should be fixed.

{
 "v1": to_atomic("asterix"),
 "v2": to_atomic(["asterix"]),
 "v3": to_atomic([0, 1]),
 "v4": to_atomic(\{"value": "asterix"}),
 "v5": to_number(\{"x": 1, "y": 2})
};



--
This message was sent by Atlassian Jira
(v8.3.4#803005)