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

Output to the web console buggy for multiple queries

    XMLWordPrintableJSON

    Details

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

      Description

      It seems that when you put multiple queries into the browser, the display info gets corrupted. I'm not sure when this started. Try the following as an example (select to show the optimized plan):

      drop dataverse emergencyTest if exists;
      create dataverse emergencyTest;
      use dataverse emergencyTest;
      create type CHPReport as

      { "id":int, "timestamp":datetime, "title":string, "message":string } create dataset CHPReports(CHPReport) primary key timestamp; insert into dataset CHPReports( {"id":3,"timestamp":datetime("2015-08-27T10:10:00.000Z"),"title":"ghost","message":"success"}

      );

      insert into dataset CHPReports(

      {"id":4,"timestamp":datetime("2015-08-27T00:00:01.000Z"),"title":"ghost","message":"failure"}

      );
      for $emergency in dataset CHPReports
      return $emergency.message;
      for $emergency in dataset CHPReports
      return $emergency;
      for $emergency in dataset CHPReports
      return $emergency;

        Attachments

          Activity

            People

            • Assignee:
              mhubail Murtadha Makki Al Hubail
              Reporter:
              sjaco002 Steven Jacobs
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: