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

Create an index on beer sample

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Won't Fix
    • Major
    • None
    • 4.1.0
    • tools
    • Security Level: Public
    • None

    Description

      beer-sample does not have an index. This makes it unusable out of the box:

      {{cbq> select * from `beer-sample` limit 1;
      {
      "requestID": "90495e2b-a2b6-4b35-adbe-6540ab9f7532",
      "errors": [

      { "code": 4000, "msg": "No primary index on keyspace beer-sample. Use CREATE PRIMARY INDEX to create one." }

      ],
      "status": "fatal",
      "metrics":

      { "elapsedTime": "56.196153ms", "executionTime": "55.669987ms", "resultCount": 0, "resultSize": 0, "errorCount": 1 }

      }
      }}

      Attachments

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

        Activity

          People

            owend Daniel Owen
            arungupta Arun Gupta (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty