rapidsai/cudf

[FEA] Implement Java/JNI function `applyNullMask`

Open

#16.764 aperta il 6 set 2024

Vedi su GitHub
 (2 commenti) (0 reazioni) (0 assegnatari)C++ (735 fork)batch import
JavaSparkfeature requestgood first issue

Metriche repository

Star
 (6000 star)
Metriche merge PR
 (Merge medio 17g 21h) (230 PR mergiate in 30 g)

Descrizione

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.

Guida contributor