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

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


The version of the Python driver that is used by cqlsh (3.28.0) doesn't 
correctly support vectors of variable-width types. Wrong deserialization can 
either fail with an exception or silently provide wrong results. For example:
{code:java}
cqlsh:k> CREATE TABLE t (k int PRIMARY KEY, v vector<varint, 2>);
cqlsh:k> INSERT INTO t(k, v) VALUES (1, 
[23452352356235654634567437463767365783768, 3]);
cqlsh:k> SELECT * FROM t;
 k | v
---+--------------------------
 1 | [289729430, -1001073214]}}
{code}
The most recent driver at the moment (3.29.0) still doesn't support this kind 
of vector, but it always fails with a proper message instead of dangerously 
providing wrong results, thanks to 
[PYTHON-1371|https://datastax-oss.atlassian.net/browse/PYTHON-1371].



--
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