Skip to content

[df] Avoid relying on side-effect in test#22610

Open
vepadulano wants to merge 1 commit into
root-project:masterfrom
vepadulano:df-test-avoid-side-effect
Open

[df] Avoid relying on side-effect in test#22610
vepadulano wants to merge 1 commit into
root-project:masterfrom
vepadulano:df-test-avoid-side-effect

Conversation

@vepadulano

Copy link
Copy Markdown
Member

This commit touches the RNTupleWithGlobalRanges test in the RDatasetSpec suite with RNTuple. Previously, the test was checking a specific value returned after filtering the RNTuple dataset on specific 'rdfentry_' special column values.

RDataFrame does not guarantee any ordering for the 'rdfentry_' column and in particular it does not guarantee correspondence between a specific value and the true global entry index in the input dataset.

Now the test is enhanced to instead check that for each different specified global range RDataFrame retrieves the correct values from the dataset and that the 'rdfentry_' column values are unique across the different thread tasks.

This is in preparation for a followup PR that reworks the RNTuple MT scheduling.

@vepadulano vepadulano self-assigned this Jun 15, 2026
@vepadulano vepadulano requested a review from hageboeck as a code owner June 15, 2026 09:31
This commit touches the RNTupleWithGlobalRanges test in the RDatasetSpec suite
with RNTuple. Previously, the test was checking a specific value returned after
filtering the RNTuple dataset on specific 'rdfentry_' special column values.

RDataFrame does not guarantee any ordering for the 'rdfentry_' column and in
particular it does not guarantee correspondence between a specific value and the
true global entry index in the input dataset.

Now the test is enhanced to instead check that for each different specified
global range RDataFrame retrieves the correct values from the dataset and that
the 'rdfentry_' column values are unique across the different thread tasks.
@vepadulano vepadulano force-pushed the df-test-avoid-side-effect branch from 17ead6e to 0548be6 Compare June 15, 2026 12:42
@github-actions

Copy link
Copy Markdown

Test Results

    19 files      19 suites   2d 21h 0m 23s ⏱️
 3 842 tests  3 842 ✅ 0 💤 0 ❌
66 505 runs  66 505 ✅ 0 💤 0 ❌

Results for commit 0548be6.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant