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

fix: Fix CopyPreserveEncodingsTest.lazyNoNulls #11887

Closed
wants to merge 1 commit into from

Conversation

kagamiori
Copy link
Contributor

Summary: #11855 updated LazyVector:: copyPreserveEncodings() but didn't update the unit test. This diff fixes the failing test.

Differential Revision: D67318403

@facebook-github-bot facebook-github-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 Dec 17, 2024
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D67318403

Copy link

netlify bot commented Dec 17, 2024

Deploy Preview for meta-velox canceled.

Name Link
🔨 Latest commit f67f861
🔍 Latest deploy log https://app.netlify.com/sites/meta-velox/deploys/6761bcc014a6720008125231

@@ -327,10 +327,11 @@ TEST_F(CopyPreserveEncodingsTest, flatNoNulls) {
TEST_F(CopyPreserveEncodingsTest, lazyNoNulls) {
auto lazyVector = vectorMaker_.lazyFlatVector<int32_t>(
10, [](vector_size_t row) { return row; });
auto copy = lazyVector->loadedVector()->copyPreserveEncodings();
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe add a check that if someone trying to copy unloaded lazy, they still get an exception

Summary:

facebookincubator#11855 updated LazyVector:: copyPreserveEncodings() but didn't update the unit test. This diff fixes the failing test.

Reviewed By: Yuhta

Differential Revision: D67318403
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D67318403

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in d9a9c21.

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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants