Skip to content

Conversation

@sylwiaszunejko
Copy link
Collaborator

@sylwiaszunejko sylwiaszunejko commented Oct 17, 2025

This PR is supposed to add vector support to scylladb's fork of gocql by merging upstream commits.

Fixes: #585

@sylwiaszunejko
Copy link
Collaborator Author

sylwiaszunejko commented Oct 17, 2025

@dkropachev This is wip, I still need to merge apache#1899 but it is not that obvious due to how different upstream and our fork is regarding marshaling.

@sylwiaszunejko sylwiaszunejko force-pushed the add-vetor-support branch 2 times, most recently from 66d53fb to 70d3c23 Compare October 21, 2025 07:55
@sylwiaszunejko sylwiaszunejko marked this pull request as ready for review October 21, 2025 07:56
@sylwiaszunejko
Copy link
Collaborator Author

@dkropachev it is ready for your review

@sylwiaszunejko sylwiaszunejko self-assigned this Oct 21, 2025
@sylwiaszunejko sylwiaszunejko force-pushed the add-vetor-support branch 3 times, most recently from da52975 to ff54760 Compare October 22, 2025 10:29
@sylwiaszunejko
Copy link
Collaborator Author

The CI is failing on these tests:

 --- FAIL: TestVector_Types/vector_vector_set_float (0.63s)
 --- FAIL: TestVector_Types/vector_tuple_text_list_text (0.63s)
 --- FAIL: TestVector_Types/vector_set_text (1.03s)
 --- FAIL: TestVector_Types/vector_map_text_int (0.84s)

not sure why, the errors look like this:
vector_test.go:190: std::bad_cast (potentially executed: false) and vector_test.go:190: can not marshal []string into custom() (potentially executed: false)

@dkropachev
Copy link
Collaborator

@sylwiaszunejko , could you please rebase and address test and build failures.

@sylwiaszunejko
Copy link
Collaborator Author

CI fails due to scylladb/scylladb#26704

@dkropachev
Copy link
Collaborator

CI fails due to scylladb/scylladb#26704

Can you please mark these tests to have them skipped unit next scylla version, while rest of vector tests to be run on current one

lukasz-antoniak and others added 3 commits October 29, 2025 09:32
Support marshalling and unmarshalling of vector custom type.

patched by Lukasz Antoniak; reviewed by João Reis, Stanislav Bychkov, Oleksandr Luzhniy, Mykyta Oleksiienko and Bohdan Siryk for CASSGO-11
joao-r-reis and others added 6 commits October 31, 2025 09:23
Tinyint unmarshal silently errors and unmarshals tinyint values as 0 in some situations.
This patch also removes other cases of silent errors in decode functions.

Fix issue where reading vectors with SliceMap is not possible.

Patch by João Reis; reviewed by James Hartig for CASSGO-82, CASSGO-83
@dkropachev
Copy link
Collaborator

@sylwiaszunejko , on scylla:

--- FAIL: TestVector_Types/vector_tuple_text_list_text

Copy link
Collaborator

@dkropachev dkropachev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fix the test and it is good to go

@sylwiaszunejko
Copy link
Collaborator Author

@dkropachev CI fixed

@dkropachev dkropachev merged commit 279b4ea into scylladb:master Nov 5, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Merge vector support

4 participants