Skip to content

test: enable DurationSecond fuzzing - #24772

Open
Theodus wants to merge 2 commits into
apache:mainfrom
Theodus:fuzz-duration-second
Open

test: enable DurationSecond fuzzing#24772
Theodus wants to merge 2 commits into
apache:mainfrom
Theodus:fuzz-duration-second

Conversation

@Theodus

@Theodus Theodus commented Aug 29, 2026

Copy link
Copy Markdown
Contributor

Which issue does this PR close?

N/A — this restores fuzz coverage disabled by a now resolved upstream Arrow issue.

Rationale for this change

DurationSecond fuzzing was disabled after an Arrow pretty-printing panic (arrow-rs#7533). The panic was fixed in arrow-rs#7534.

The existing generator range restriction remains necessary: out-of-range values print as <invalid>, which could make unequal batches compare equal in the fuzzer's pretty-print comparison.

What changes are included in this PR?

  • Re-enable the duration_seconds fuzz column.
  • Clarify why its generated values remain range-restricted.

Are these changes tested?

Yes. The existing scalar and aggregation fuzz tests pass with DurationSecond enabled.

Are there any user-facing changes?

No.

@github-actions github-actions Bot added the core Core DataFusion crate label Aug 29, 2026
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 81.52%. Comparing base (61bf6b9) to head (b0d591d).

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #24772      +/-   ##
==========================================
- Coverage   81.52%   81.52%   -0.01%     
==========================================
  Files        1123     1123              
  Lines      405970   405970              
  Branches   405970   405970              
==========================================
- Hits       330978   330974       -4     
- Misses      55627    55630       +3     
- Partials    19365    19366       +1     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@Rich-T-kid Rich-T-kid left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

nice find

Comment thread test-utils/src/array_gen/random_data.rs Outdated
Comment on lines +136 to +138
// Restrict Duration(Seconds) to values that pretty-print as distinct durations.
// Out-of-range values print as `<invalid>`, which could make unequal batches
// compare equal after pretty-printing.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

nit: we could probably trim this comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I've made the comment more terse in 948812c.

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

Labels

core Core DataFusion crate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants