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

UI GSI samples should show escaping.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 4.5.0
    • 4.0.0
    • secondary-index, UI
    • Security Level: Public
    • Untriaged
    • No

    Description

      I was trying to create a new secondary index base of the indexes in the travel-sample:

      When I tried to create my index on stops I would get a syntax error:

      CREATE INDEX def_airportname ON travel-sample(`stop`) USING GSI
      

      Of course the correct syntax is:

      CREATE INDEX def_stop ON `travel-sample`(`stops`)  USING GSI;
      

      The UI should show the correct code including escaping to create the index.

      Attachments

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

        Activity

          People

            prathibha Prathibha Bisarahalli (Inactive)
            pvarley Patrick Varley (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty