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

Non-object results in formatted JSON output

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: UI - Web Interface
    • Labels:
      None

      Description

      If results do not contain JSON objects, the formatted JSON output has some issue:

      SELECT VALUE DatasetName
      FROM Metadata.`Dataset`;

      It only shows the first element in the returning array:
      "CompactionPolicy"

      But if we use normal JSON output, we get:
      "CompactionPolicy"
      "Dataset"
      "DatasourceAdapter"
      "Datatype"
      "Dataverse"
      "ExternalFile"
      "Feed"
      "FeedConnection"
      "FeedPolicy"
      "Function"
      "Index"
      "Library"
      "Node"
      "Nodegroup"

        Attachments

          Activity

            People

            • Assignee:
              idleft Xikui Wang
              Reporter:
              buyingyi Yingyi Bu
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: