HyukjinKwon opened a new pull request, #48709:
URL: https://github.com/apache/arrow/pull/48709
### 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.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]