[ 
https://issues.apache.org/jira/browse/CASSANDRA-18960?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17782241#comment-17782241
 ] 

Andres de la Peña commented on CASSANDRA-18960:
-----------------------------------------------

Thanks, committed to 5.0 as 
[f41ecf586c0459476d68e755c6431119f08ff4e1|https://github.com/apache/cassandra/commit/f41ecf586c0459476d68e755c6431119f08ff4e1]
 and merged to 
[{{trunk}}|https://github.com/apache/cassandra/commit/53c25f8faa68065040c37f29f3f7f0f0b7161a98].

> 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
>            Assignee: Andres de la Peña
>            Priority: Normal
>             Fix For: 5.0.x, 5.x
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to