Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-18946

Add cqlsh autocompletion for the vector data type

Agile BoardAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      Add cqlsh autocompletion for the vector data type, so we have completions such as:

      cqlsh> CREATE TABLE t (v
      ascii     boolean   decimal   float     int       set       time      tinyint   varint
      bigint    counter   double    frozen    list      smallint  timestamp uuid      vector
      blob      date      duration  inet      map       text      timeuuid  varchar
      
      cqlsh> CREATE TABLE t (v vector<
      ascii     boolean   decimal   float     int       set       time      tinyint   varint
      bigint    counter   double    frozen    list      smallint  timestamp uuid      vector
      blob      date      duration  inet      map       text      timeuuid  varchar
      
      cqlsh> CREATE TABLE t (v vector<float,
                    <wholenumber>
      
      cqlsh> INSERT INTO t(k, v) VALUES ( 0,
                                       <value for v (vector<float, 3>)>
      

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            adelapena Andres de la Peña Assign to me
            adelapena Andres de la Peña
            Andres de la Peña
            Brandon Williams
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 40m
                40m

                Slack

                  Issue deployment