[
https://issues.apache.org/jira/browse/CASSANDRA-18960?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17785022#comment-17785022
]
Andres de la Peña commented on CASSANDRA-18960:
-----------------------------------------------
Here are patches upgrading the min required Python version from 3.6 to 3.7:
||PR||CI||
|[5.0
|https://github.com/apache/cassandra/pull/2884]|[j11|https://app.circleci.com/pipelines/github/adelapena/cassandra/3290/workflows/6031c2ef-66e2-4f51-abc3-66deb16b2a97]
[j17|https://app.circleci.com/pipelines/github/adelapena/cassandra/3290/workflows/6ff51cc0-8ecd-4d64-a79d-ab39a01c72c0]|
|[trunk|https://github.com/apache/cassandra/pull/2885]|[j11|https://app.circleci.com/pipelines/github/adelapena/cassandra/3289/workflows/96488767-8d95-4f90-90dc-aa1a1ada3897]
[j17|https://app.circleci.com/pipelines/github/adelapena/cassandra/3289/workflows/abf0f6cb-1716-447d-a8cc-6b09fa5d2567]|
I have modified the CircleCI jobs using 3.6 to use 3.7 instead. I don't know if
we will need something else for Jenkins, I'll start runs for that too.
> 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-beta1, 5.0, 5.1
>
> Time Spent: 1h
> 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]