Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-35850

Tables in the query UI fail to show all statements (for multi statements) and has a poor layout

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 6.5.0
    • 6.5.0
    • UI
    • Enterprise Edition 6.5.0 build 4205
    • Untriaged
    • MacOSX 64-bit
    • Unknown

    Description

      In the Query Editor make a three statement sequence as follows:

       

      CREATE FUNCTION lame_distance_func(lon,lat) 
       { abs(-96.7970 - lon) + abs(32.7767 - lat) };
      SELECT airportname, geo, lame_distance_func (geo.lon, geo.lat) 
      as lame_dist from 
      `travel-sample` WHERE type="airport" LIMIT 3;
      DROP FUNCTION lame_distance_func ; 
      

      With the above statements make sure the TABLE is selected and then hit the EXECUTE button

      The TABLE VIEW is not correct it only shows the first executed statement

      (see: image_1)

      Toggle between JSON and TABLE and the TABLE VIEW will show all three statements

      (see: image_2)

      In addition the layouts are not quite right (bad row heights) even after toggling

      (see: image_2 on right)

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            eben Eben Haber
            jon.strabala Jon Strabala
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty