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

GODRIVER-3481 Improve JSON tests for Binary Vector Subtype. #1942

Merged
merged 2 commits into from
Feb 21, 2025

Conversation

qingyang-hu
Copy link
Collaborator

GODRIVER-3481

Summary

Sync up with updates at mongodb/specifications@585b797

Background & Motivation

@mongodb-drivers-pr-bot mongodb-drivers-pr-bot bot added the priority-3-low Low Priority PR for Review label Feb 14, 2025
Copy link
Contributor

API Change Report

No changes found!

@qingyang-hu qingyang-hu marked this pull request as ready for review February 18, 2025 14:11
prestonvasquez
prestonvasquez previously approved these changes Feb 19, 2025
Copy link
Collaborator

@prestonvasquez prestonvasquez left a comment

Choose a reason for hiding this comment

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

LGTM with optional

Comment on lines 145 to 148
"FLOAT32 with padding": errNonZeroVectorPadding.Error(),
"INT8 with padding": errNonZeroVectorPadding.Error(),
"Padding specified with no vector data PACKED_BIT": errNonZeroVectorPadding.Error(),
"Exceeding maximum padding PACKED_BIT": errVectorPaddingTooLarge.Error(),
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggest using a string literal, rather than referencing the errNonZeroVectorPadding and errVectorPaddingTooLarge variables in case the error variables is somehow changed.

@qingyang-hu qingyang-hu merged commit a76de92 into mongodb:master Feb 21, 2025
30 of 35 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority-3-low Low Priority PR for Review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants