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

[UI] Analytics : Explain for create throws syntax error

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 6.5.0
    • 5.5.0
    • analytics
    • 4 node ubuntu 16 cluster running KV, index, query, analytics
    • Untriaged
    • Ubuntu 64-bit
    • Unknown
    • CX Sprint 153

    Description

      • Create a data bucket 
      • Try to EXPLAIN create shadow dataset ds2 on bucket_1

      Getting following exception but if i execute the same command it goes through fine

      [
      {
      "code": 1,
      "msg": "Syntax error: In line 1 >>explain create shadow dataset ds2 on bucket_1;<< Encountered \"create\" at column 9. ",
      "query_from_user": "create shadow dataset ds2 on bucket_1"
      }
      ]

      * Similar query in N1QL is giving response for EXPLAIN

      CREATE PRIMARY INDEX ON `travel-sample`
       
      {
      "plan": {
      "#operator": "CreatePrimaryIndex",
      "index": "#primary",
      "keyspace": "travel-sample",
      "namespace": "default",
      "using": "default"
      },
      "text": "CREATE PRIMARY INDEX ON `travel-sample`"
      }

      Attachments

        Issue Links

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

          Activity

            People

              dmitry.lychagin Dmitry Lychagin (Inactive)
              vikas.chaudhary Vikas Chaudhary
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty