rapidsai/cudf

[FEA] Implement Java/JNI function `applyNullMask`

Open

#16,764 创建于 2024年9月6日

在 GitHub 查看
 (2 评论) (0 反应) (0 负责人)C++ (735 fork)batch import
JavaSparkfeature requestgood first issue

仓库指标

Star
 (6,000 star)
PR 合并指标
 (平均合并 17天 21小时) (30 天内合并 230 个 PR)

描述

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.

贡献者指南