Uploaded image for project: 'Apache AsterixDB'
  1. Apache AsterixDB
  2. ASTERIXDB-2650

Typo in the documentation for the function to_atomic

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • DOC - Documentation
    • None

    Description

      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})
      };

      Attachments

        Activity

          People

            Unassigned Unassigned
            James Fang James Fang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: