Skip to content

test: Add makeMapVector overload with explicit offsets and sizes#16749

Closed
pedroerp wants to merge 1 commit intofacebookincubator:mainfrom
pedroerp:export-D96238549
Closed

test: Add makeMapVector overload with explicit offsets and sizes#16749
pedroerp wants to merge 1 commit intofacebookincubator:mainfrom
pedroerp:export-D96238549

Conversation

@pedroerp
Copy link
Contributor

Summary:
Add a new mapVector(offsets, sizes, keys, values, isNullAt) overload to
VectorMaker and the corresponding makeMapVector wrapper in
VectorTestBase. Unlike the existing offsets-only overload (which derives
sizes from consecutive offset differences), this variant accepts explicit
sizes, enabling construction of MapVectors with non-consecutive or
out-of-order layouts — useful for testing code that processes vectors
produced by filters, slices, or other transformations.

Differential Revision: D96238549

@netlify
Copy link

netlify bot commented Mar 12, 2026

Deploy Preview for meta-velox canceled.

Name Link
🔨 Latest commit 5b689ae
🔍 Latest deploy log https://app.netlify.com/projects/meta-velox/deploys/69b3099203ee7d00086b4ba3

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Mar 12, 2026
Summary:
Add a new `mapVector(offsets, sizes, keys, values, isNullAt)` overload to
`VectorMaker` and the corresponding `makeMapVector` wrapper in
`VectorTestBase`. Unlike the existing offsets-only overload (which derives
sizes from consecutive offset differences), this variant accepts explicit
sizes, enabling construction of MapVectors with non-consecutive or
out-of-order layouts — useful for testing code that processes vectors
produced by filters, slices, or other transformations.

Differential Revision: D96238549
@meta-codesync
Copy link

meta-codesync bot commented Mar 12, 2026

@pedroerp has exported this pull request. If you are a Meta employee, you can view the originating Diff in D96238549.

@meta-codesync meta-codesync bot closed this in 22d35f6 Mar 12, 2026
@meta-codesync
Copy link

meta-codesync bot commented Mar 12, 2026

This pull request has been merged in 22d35f6.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants