Repository navigation
GH-34620: [C#] Support DateOnly and TimeOnly on .NET 6.0+ - #36125
Merged
Merged
Conversation
|
|
|
|
westonpace
requested changes
Jul 17, 2023
westonpace
left a comment
Member
There was a problem hiding this comment.
This looks pretty solid. Just one question about the microsecond/nanosecond tick constants.
westonpace
approved these changes
Jul 19, 2023
westonpace
left a comment
Member
There was a problem hiding this comment.
Thanks for addressing the feedback.
|
After merging your PR, Conbench analyzed the 6 benchmarking runs that have been run so far on merge-commit bebd2bf. There were no benchmark performance regressions. 🎉 The full Conbench report has more details. It also includes information about possible false positives for unstable benchmarks that are known to sometimes produce them. |
loicalleyne
pushed a commit
to loicalleyne/arrow
that referenced
this pull request
Nov 13, 2023
…he#36125) ### What changes are included in this PR? Date32Array and Date64Array now support DateOnly values for construction and reading on .NET 6.0 and later. Time32Array and Time64Array now support TimeOnly values for construction and reading on .NET 6.0 and later. A new TimeArrayBuilder type is used to share logic between Time32Array.Builder and Time64Array.Builder just as the DateArrayBuilder does for the date array types. ### Are these changes tested? Yes * Closes: apache#34620 Authored-by: Curt Hagenlocher <curt@hagenlocher.org> Signed-off-by: Weston Pace <weston.pace@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes are included in this PR?
Date32Array and Date64Array now support DateOnly values for construction and reading on .NET 6.0 and later.
Time32Array and Time64Array now support TimeOnly values for construction and reading on .NET 6.0 and later.
A new TimeArrayBuilder type is used to share logic between Time32Array.Builder and Time64Array.Builder just as the DateArrayBuilder does for the date array types.
Are these changes tested?
Yes
DateOnlyandTimeOnlyvalues on .NET 6. #34620