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

create primary index with vector clause should fail

    XMLWordPrintable

Details

    • Untriaged
    • 0
    • Unknown

    Description

      We should not allow vector with cluase when creating primary index as it is confusing and just retrun some error:

      cbq> CREATE PRIMARY INDEX vector_primary_index_L2_SQUARED IF NOT EXISTS ON default WITH {'dimension': 128, 'train_list': 10000, 'description': 'IVF,PQ8x8', 'similarity': 'L2_SQUARED', 'scan_nprobes': 3} ;
      {
          "requestID": "341e33fb-b07b-4e07-b495-56b02b61de84",
          "signature": null,
          "results": [
          ],
          "status": "success",
          "metrics": {
              "elapsedTime": "2.877573895s",
              "executionTime": "2.877479251s",
              "resultCount": 0,
              "resultSize": 0,
              "serviceLoad": 6
          }
      } 

      Attachments

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

        Activity

          People

            ajay.bhullar Ajay Bhullar
            pierre.regazzoni Pierre Regazzoni
            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