-
Notifications
You must be signed in to change notification settings - Fork 912
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
Exposed stream-ordering to datetime API #16774
Exposed stream-ordering to datetime API #16774
Conversation
May want to consider the following issue/comment as well #16735 (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.
Thanks for working on this! I have a couple suggestions. Please add stream tests. You can copy existing datetime tests into the streams test directory, and pass cudf::test::get_default_stream()
to the new stream-ordered public APIs.
I like that idea but it should be done in a separate PR. Let's just add stream ordered public APIs in this one. |
But it would be wasted effort to add streams to APIs that are going to be deleted, right? |
We could remove the stream-ordering changes from the |
/ok to test |
1 similar comment
/ok to test |
/ok to test |
2 similar comments
/ok to test |
/ok to test |
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.
Looks good to me 👍
/ok to test |
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.
Looks great.
Good to go once the corresponding stream test has been added.
/ok to test |
thanks! I've added them now |
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.
One final suggestion. Thank you @lamarrr
/ok to test |
1 similar comment
/ok to test |
c4453b9
to
7d79cd3
Compare
Fixed include style and stream documentation Fixed stream param documentation formatting updated doxygen copydoc for cudf APIs Fixed include formatting Removed duplicated stream param added default stream to make_timezone_transition_table added default stream to make_timezone_transition_table added default stream to make_timezone_transition_table Added stream tests for datetime API update license notice Co-authored-by: Yunsong Wang <[email protected]> collapsed test fixtures removed redundant include
7d79cd3
to
d01bda9
Compare
/merge |
Description
This merge request exposes stream-ordering to the public-facing datetime APIs.
extract_year
extract_month
extract_day
extract_weekday
extract_hour
extract_minute
extract_second
extract_millisecond_fraction
extract_microsecond_fraction
extract_nanosecond_fraction
last_day_of_month
day_of_year
add_calendrical_months
is_leap_year
days_in_month
extract_quarter
ceil_datetimes
floor_datetimes
round_datetimes
Follows-up #13744
Closes #16775
Checklist