rapidsai/cudf

[FEA] Implement Java/JNI function `applyNullMask`

Open

#16.764 aberto em 6 de set. de 2024

Ver no GitHub
 (2 comments) (0 reactions) (0 assignees)C++ (735 forks)batch import
JavaSparkfeature requestgood first issue

Métricas do repositório

Stars
 (6.000 stars)
Métricas de merge de PR
 (Mesclagem média 17d 21h) (230 fundiu PRs em 30d)

Description

We need a function in Java/JNI to apply a null mask onto some provided input column. This functionality is used a lot in Spark-rapids plugin.

Currently, we can achieve this using copy_if_else but we have to create and provide a null scalar for the else (if not valid) option, which is a bit inconvenient and incurs additional maintenance overhead.

Guia do colaborador