-
Notifications
You must be signed in to change notification settings - Fork 258
feat(NODE-6537): add support for binary vectors #730
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
Merged
Merged
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
c9160d3
test(NODE-6534): add spec test runner for Binary vector
nbbeeken af3f9cd
feat(NODE-6537): add support for binary vectors
nbbeeken 384dd92
test: check for error when bits are not 1 or 0
nbbeeken 2edc855
docs: mention errors thrown
nbbeeken efa2ea4
perf: remove Math
nbbeeken 1b73b0b
docs: capture d_type and padding validation in comments
nbbeeken 1b36809
chore: use "datatype"
nbbeeken 6a9e098
chore: reduce diff
nbbeeken 1dc36ad
refactor: moved validation to free function
nbbeeken e8d6062
test: d_type -> datatype
nbbeeken a0c63c1
refactor: move swapping to ByteUtils
nbbeeken e789554
chore: move script out of .evg
nbbeeken 8c9fb3a
chore: move dockerfile
nbbeeken File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
FROM node:22 AS build | ||
|
||
WORKDIR /bson | ||
COPY . . | ||
|
||
RUN rm -rf node_modules && npm install && npm test | ||
|
||
FROM scratch | ||
|
||
COPY --from=build /bson/docs/ / |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#!/usr/bin/env bash | ||
|
||
# At the time of writing. This script is not used in CI. | ||
# but can be used to locally iterate on big endian bugs. | ||
# buildx requires an output, so I put docs which should be a no-op. | ||
|
||
set -o errexit | ||
set -o nounset | ||
set -o pipefail | ||
set -o xtrace | ||
|
||
# If you get an error you may have an outdated buildkit version | ||
# Try running this: | ||
# docker buildx rm builder && docker buildx create --name builder --bootstrap --use | ||
|
||
docker buildx build \ | ||
--progress=plain \ | ||
--platform linux/s390x \ | ||
--build-arg="NODE_ARCH=s390x" \ | ||
-f ./etc/Dockerfile \ | ||
--output type=local,dest=./docs,platform-split=false \ | ||
. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.