Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PYTHON-5126 Addresses issues raised in DRIVERS-3097 and DRIVERS-3123 #2261

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

caseyclements
Copy link
Contributor

if padding and not n_values:
raise ValueError("Corrupt data. Vector has a padding P, but no data.")
if padding and n_values and not (unpacked_uint8s[-1] & ((1 << padding) - 1)) == 0:
raise ValueError(
Copy link
Member

Choose a reason for hiding this comment

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

Are these breaking changes for existing data?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

They are, yeah. But only for a case that vector search doesn't use. I feel confident that it won't affect anyone now.

@caseyclements caseyclements changed the title DRIVERS-3097 Addresses issues raised in and DRIVERS-3123 Addresses issues raised in DRIVERS-3097 and DRIVERS-3123 Apr 3, 2025
@caseyclements caseyclements changed the title Addresses issues raised in DRIVERS-3097 and DRIVERS-3123 PYTHON-5126 Addresses issues raised in DRIVERS-3097 and DRIVERS-3123 Apr 3, 2025
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.

2 participants