viirya commented on code in PR #2591:
URL: https://github.com/apache/arrow-rs/pull/2591#discussion_r955388701
##########
arrow/src/compute/kernels/comparison.rs:
##########
@@ -585,13 +783,49 @@ pub fn nilike_utf8_scalar<OffsetSize: OffsetSizeTrait>(
None,
null_bit_buffer,
0,
- vec![result.finish()],
+ vec![bool_buf.into()],
vec![],
)
};
Ok(BooleanArray::from(data))
}
+/// Perform SQL `left NOT ILIKE right` operation on [`StringArray`] /
+/// [`LargeStringArray`] and a scalar.
+///
+/// See the documentation on [`like_utf8`] for more details.
+pub fn nilike_utf8_scalar<OffsetSize: OffsetSizeTrait>(
+ left: &GenericStringArray<OffsetSize>,
+ right: &str,
+) -> Result<BooleanArray> {
+ nilike_scalar(left, right)
+}
+
+/// Perform SQL `left ILIKE right` operation on [`DictionaryArray`] with values
Review Comment:
```suggestion
/// Perform SQL `left NOT ILIKE right` operation on [`DictionaryArray`] with
values
```
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]