Andres de la Peña created CASSANDRA-18960:
---------------------------------------------

             Summary: Upgrade Python driver to 3.28.0
                 Key: CASSANDRA-18960
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-18960
             Project: Cassandra
          Issue Type: Task
          Components: Feature/Vector Search, Tool/cqlsh
            Reporter: Andres de la Peña


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:
{code}
> 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'
{code}
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.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to