NVIDIA / NVIDIA/cudf

[TASK][JNI] Investigate train of `null_count` after `explode`

Open
#11,923 2 comments 0 reactions 1 assignee Claimed by @ttnghia View on GitHub
libcudf Performance Spark
Dominant language
C++
Stars
9.8k
Forks
1.1k
Avg merge
3d 6m
Merged PRs (30d)
278

Description

While analyzing an nsys trace for a Spark job with deeply nested tables, we see an `explode` kernel call that is followed by a train of `null_count`, which end in `is_valid`.

After we call `cudf::explode` we build up a table, and construct java `ColumnVector` objects. I think the construction of these objects is triggering it.

This task is to confirm that the columns with missing a null count are coming from the `explode` kernels. If they are coming from `explode`, it would be great if `explode` could compute null count as part of that kernel.

In this screenshot, it is the ~20ms at the end after `explode`:
![Screenshot from 2022-10-14 11-21-24](https://user-images.githubusercontent.com/1901059/195894495-ee65f7e6-0387-4bd6-990b-185bcc11a659.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.