Skip to content

Conversation

@macvincent
Copy link
Contributor

Summary:
In VeloxWriterTests.fuzzComplex random min and max stream chunk size values are selected. However, flaky errors may occur when these values are close. For instance in this case:

buck run mode/opt dwio/nimble/velox/tests/ -- --gtest_filter=VeloxWriterTests.fuzzComplex --writer_tests_seed 3173165506

a min chunk size of 263 and a max chunk size of 266 is selected. In the soft chunking phase, when ensureFullChunks is true, the stream chunker accumulates the maximum number of values with total size up to but not exceeding the max chunk size.

Differential Revision: D88092017

Summary:

D87964917 made a change to a CMakeLists.txt file that broke OSS builds. This diff fixes that.

Differential Revision: D88117968
…#339)

Summary:

The test util used to calculate encoding sizes in NimbleDump and VeloxWriter tests only includes the size of the nulls bits for nullable encoded data. This is different from how sizes are nullable content stream sizes are calculated in the rest of our code base and introduced flakiness to a VeloxWriter test. This diff fixes that.

Differential Revision: D88113894
Summary:
In `VeloxWriterTests.fuzzComplex` random min and max stream chunk size values are selected. However, flaky errors may occur when these values are close. For instance in this case:
```
buck run mode/opt dwio/nimble/velox/tests/ -- --gtest_filter=VeloxWriterTests.fuzzComplex --writer_tests_seed 3173165506
```
a min chunk size of 263 and a max chunk size of 266 is selected. In the soft chunking phase, when `ensureFullChunks` is true, the stream chunker accumulates the maximum number of values with total size up to but not exceeding the max chunk size.

Differential Revision: D88092017
@meta-cla meta-cla bot added the CLA Signed This label is managed by the Meta Open Source bot. label Dec 2, 2025
@meta-codesync
Copy link

meta-codesync bot commented Dec 2, 2025

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

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 Meta Open Source bot. fb-exported meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant