-
Notifications
You must be signed in to change notification settings - Fork 292
Add support for nested types to collect_set(...) on the GPU [databricks]
#6079
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
Merged
NVnavkumar
merged 17 commits into
NVIDIA:branch-22.08
from
NVnavkumar:collect_set_nested_types
Aug 5, 2022
Merged
Changes from 9 commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
74883ee
WIP: enable nested types with collect_set
NVnavkumar a0fac74
tests for collect_set() with nested array types
NVnavkumar 2aa4d1f
preparing to switch to local sorting
NVnavkumar 86ca609
Run sort_array on the CPU in order to test collect_set() with Struct[…
NVnavkumar 4ced710
Test cleanup and right now just ensure that Struct[Array] works with …
NVnavkumar 0abc00a
Updated docs
NVnavkumar f764d30
For integration tests, add array of struct case and array of array case
NVnavkumar 54d08a8
Fix window aggregation configuration, and add integration tests for c…
NVnavkumar f984ce4
Add reduction integration tests
NVnavkumar 2dfe8ba
Add incompat documentation, and update tests to remove approximate fl…
NVnavkumar 753bfe8
Revert "Add incompat documentation, and update tests to remove approx…
NVnavkumar bd227fa
Cleanup test code, rename data_gen var, and remove unnecessary decora…
NVnavkumar 4cca48a
Update CollectSet with limited hasNans requirement and update tests
NVnavkumar 0ef4784
Update partial support docs for CollectSet
NVnavkumar 14b6ced
Make this check recursive to handle structs that contain structs of a…
NVnavkumar 7f928c6
Update integration test for collect_set on nested array types to hand…
NVnavkumar 6f1e0da
Update window_function_test to handle optimization performed by Datab…
NVnavkumar 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 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
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
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
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
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
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
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
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.
Can we have
no_nanin the name of this too? That way it is more clear what you are getting.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.
Is it best to use incompat or hasNans at this point?
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 hasNans would probably be best. It would give us the most fine grained control over falling back to the CPU so we can do it only in situations that we know are problematic. But then we need to shift the documentation from incompat to one of the PartialSupport notes or in some other documentation.