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

Strange/wrong behavior in console with Formatted JSON and multiple statements

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      Consider running the following kind of statement sequence two ways - first with unformatted and with formatted JSON. With larger JSON objects than this unsuccessful repro attempt, sometimes the formatted version doesn't show all of the returned data from the query. Also, it leaves the browser in a bad way so that it no longer reliably shows all of the results of subsequent queries.

      DELETE FROM foo;

      SELECT s FROM foo s;

      INSERT INTO foo
      {
      "key": "xxx123",
      "class": "CS122a",
      "content":

      { "DateFrom": "Jan 31, 2012", "DateTo": "Apr 09, 2013" }

      };

      SELECT s FROM foo s;

      INSERT INTO foo
      {
      "rec": {
      "binary": false,
      "class": "CS122b",
      "content":

      { "backOrder": false, "frontOrder": true, "width": 100 }

      ,
      "multiplicationKey": "12"
      }
      };

      SELECT s FROM foo s;

        Attachments

          Activity

            People

            • Assignee:
              idleft Xikui Wang
              Reporter:
              dtabass Michael J. Carey
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: