You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@asterixdb.apache.org by "Michael J. Carey (JIRA)" <ji...@apache.org> on 2017/08/17 22:33:00 UTC

[jira] [Created] (ASTERIXDB-2047) Strange/wrong behavior in console with Formatted JSON and multiple statements

Michael J. Carey created ASTERIXDB-2047:
-------------------------------------------

             Summary: Strange/wrong behavior in console with Formatted JSON and multiple statements
                 Key: ASTERIXDB-2047
                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-2047
             Project: Apache AsterixDB
          Issue Type: Bug
          Components: *DB - AsterixDB, UI - Web Interface
            Reporter: Michael J. Carey
            Assignee: Xikui Wang


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;




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)