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

Add cqlsh autocompletion for the vector data type

    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

        Issue Links

          Activity

            People

              adelapena Andres de la Peña
              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