-
Notifications
You must be signed in to change notification settings - Fork 902
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
JNI: Support skipping nulls for collect aggregation [skip ci] #7457
Conversation
Add a parameter controlling whether to skip nulls when creating a collect aggregation. Signed-off-by: Liangcai Li <[email protected]>
Can one of the admins verify this patch? |
@mythrocks Could you help review ? |
Since cudf supports skipping null values by PRs rapidsai/cudf#7264, and rapidsai/cudf#7457. Signed-off-by: Firestarman <[email protected]>
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.
Looking very good. One minor suggestion.
Since ullPolicy is more readable than a bare boolean. Signed-off-by: Firestarman <[email protected]>
and depreacted the APIs using booleans to have the APIs been consistent. Signed-off-by: Firestarman <[email protected]>
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 thanks for doing this
@firestarman, thank you for making |
@gpucibot merge |
rerun tests |
run tests |
@gpucibot merge |
rerun tests |
@gpucibot merge |
rerun tests |
ok to test |
rerun tests |
1 similar comment
rerun tests |
ok to test |
Since cudf supports skipping null values by PRs rapidsai/cudf#7264, and rapidsai/cudf#7457. Signed-off-by: Firestarman <[email protected]>
Since cudf supports skipping null values by PRs rapidsai/cudf#7264, and rapidsai/cudf#7457. Signed-off-by: Firestarman <[email protected]>
This PR is to support skipping nulls for `collect ` aggregation in JVM by creating a new class `CollectAggregation` who accepts a `NullPolicy ` argument indicating whether to include nulls. Skipping nulls has already been supported by `collect ` aggregation with rolling in native (rapidsai#7264), so this PR just exposes the feaure in JVM. This PR also introduces `NullPolicy ` and updates the related aggregates. Signed-off-by: firestarman <[email protected]> Authors: - Liangcai Li (@firestarman) Approvers: - Robert (Bobby) Evans (@revans2) - MithunR (@mythrocks) URL: rapidsai#7457
Since cudf supports skipping null values by PRs rapidsai/cudf#7264, and rapidsai/cudf#7457. Signed-off-by: Firestarman <[email protected]>
Since cudf supports skipping null values by PRs rapidsai/cudf#7264, and rapidsai/cudf#7457. Signed-off-by: Firestarman <[email protected]>
This PR is to support skipping nulls for
collect
aggregation in JVM by creating a new classCollectAggregation
who accepts aNullPolicy
argument indicating whether to include nulls.Skipping nulls has already been supported by
collect
aggregation with rolling in native (#7264), so this PR just exposes the feaure in JVM.This PR also introduces
NullPolicy
and updates the related aggregates.Signed-off-by: firestarman [email protected]