-
Notifications
You must be signed in to change notification settings - Fork 915
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
Support collect_set on rolling window #7881
Merged
rapids-bot
merged 14 commits into
rapidsai:branch-21.06
from
sperlingxx:collect_set_rolling
May 26, 2021
Merged
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
48745d4
support collect_set on rolling
sperlingxx 8946233
Merge remote-tracking branch 'origin/branch-0.19' into collect_set_ro…
sperlingxx 34b5a28
fix clang style
sperlingxx 79cc6a0
Merge remote-tracking branch 'origin/branch-0.19' into collect_set_ro…
sperlingxx 055bf3a
some updates
sperlingxx c26ba70
Merge remote-tracking branch 'origin/branch-0.20' into collect_set_ro…
sperlingxx 874732b
some fix after merging with latest master
sperlingxx 8933345
fix
sperlingxx 9acbd15
Merge remote-tracking branch 'origin/branch-21.06' into collect_set_r…
sperlingxx 50c1dea
adapt rolling_window refactor
sperlingxx 747f0f9
fix
sperlingxx 5b5f452
fix
sperlingxx 3b2fdd5
fix
sperlingxx dca2bb6
small fix
sperlingxx File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.
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.
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.
Why do we inherit collect set from
rolling_aggregation
instead ofaggregation
? We need it for both rolling window and groupby, don't we?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.
Because
rolling_aggregation
is virtually inherited fromaggregation
. I just followed corresponding codes for collect_list.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.
Maybe both are wrong, as
collect_set_aggregation
andcollect_set_aggregation
are used not only in rolling window but in groupby. Can you change to:and test if they can compile and unit tests all pass please?
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.
Hi @ttnghia, I tried on replacing
rolling_aggregation
withaggregation
. And I got compiling error onsrc/aggregation/aggregation.cpp:454
: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.
I think it is because we can not return
std::unique_ptr<rolling_aggregation>
after we made the replacement.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.
I see. Thanks 😄