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

Upgrade Python driver to 3.28.0

    XMLWordPrintableJSON

Details

    Description

      The version of the Python driver that is used by cqlsh (3.25.0) doesn't entirely support the new vector data type introduced by CASSANDRA-18504. While we can perfectly write data, read vectors are presented as blobs:

      > CREATE TABLE t (k int PRIMARY KEY, v vector<int, 2>);
      > INSERT INTO t(k, v) VALUES (0, [1, 2]);
      > SELECT * FROM t;
      
       k | v
      ---+-------------------------------------
       0 | b'\x00\x00\x00\x01\x00\x00\x00\x02'
      

      I think that would we fixed if we update the driver to (at least) 3.28.0, which includes support for the new vector data type.

      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:
              4 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 - 1h
                  1h