-
Notifications
You must be signed in to change notification settings - Fork 4k
GH-24157: [C++] Add tests for DayTimeIntervalBuilder #48709
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
|
|
@kou do you mind if I ask to take a quick look please? I thought this is pretty strait forward 🙇 . |
kou
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
Co-authored-by: Sutou Kouhei <[email protected]>
is from #48786 fwiw! |
|
After merging your PR, Conbench analyzed the 3 benchmarking runs that have been run so far on merge-commit ddab347. There weren't enough matching historic benchmark results to make a call on whether there were regressions. The full Conbench report has more details. |
Rationale for this change
The
DayTimeIntervalBuilderclass was marked as untested (ARROW-7938). This PR adds dedicated tests to verify the builder's functionality, similar to howTestHalfFloatBuildertestsHalfFloatBuilder.What changes are included in this PR?
TestDayTimeIntervalBuildertest class with three test cases:TestAppend: Tests basic append operations including nulls and unsafe appendTestBulkAppend: Tests bulk append operations with various signaturesTestConstructors: Tests all constructor variations (default, with pool, with explicit type)builder_time.hsince the class is now testedAre these changes tested?
Yes, the tests I mentioned are added.
Are there any user-facing changes?
No, test-only.