velvia commented on a change in pull request #8688: URL: https://github.com/apache/arrow/pull/8688#discussion_r531184824
########## File path: rust/arrow/src/compute/kernels/boolean.rs ########## @@ -149,6 +150,64 @@ pub fn is_not_null(input: &ArrayRef) -> Result<BooleanArray> { Ok(BooleanArray::from(Arc::new(data))) } +/// Copies original array, setting null bit to true if a secondary comparison boolean array is set to true. +/// Typically used to implement NULLIF. +pub fn nullif<T>( + left: &PrimitiveArray<T>, Review comment: @jorgecarleitao see my comment about why I can't make this more generic for now.... so I'm marking this as resolved. However everything else should be addressed. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org