Skip to content

Conversation

@HyukjinKwon
Copy link
Member

@HyukjinKwon HyukjinKwon commented Jan 2, 2026

Rationale for this change

The DayTimeIntervalBuilder class was marked as untested (ARROW-7938). This PR adds dedicated tests to verify the builder's functionality, similar to how TestHalfFloatBuilder tests HalfFloatBuilder.

What changes are included in this PR?

  • Added TestDayTimeIntervalBuilder test class with three test cases:
    • TestAppend: Tests basic append operations including nulls and unsafe append
    • TestBulkAppend: Tests bulk append operations with various signatures
    • TestConstructors: Tests all constructor variations (default, with pool, with explicit type)
  • Removed the TODO comment from builder_time.h since the class is now tested

Are these changes tested?

Yes, the tests I mentioned are added.

Are there any user-facing changes?

No, test-only.

@github-actions
Copy link

github-actions bot commented Jan 2, 2026

⚠️ GitHub issue #24157 has been automatically assigned in GitHub to PR creator.

@HyukjinKwon HyukjinKwon marked this pull request as draft January 2, 2026 03:27
@HyukjinKwon HyukjinKwon marked this pull request as ready for review January 2, 2026 03:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant