tustvold commented on code in PR #3295:
URL: https://github.com/apache/arrow-rs/pull/3295#discussion_r1043407782


##########
arrow-string/src/regexp.rs:
##########
@@ -18,22 +18,154 @@
 //! Defines kernel to extract substrings based on a regular
 //! expression of a \[Large\]StringArray
 
-use crate::array::{
-    ArrayRef, GenericStringArray, GenericStringBuilder, ListBuilder, 
OffsetSizeTrait,
-};
-use crate::error::{ArrowError, Result};
+use arrow_array::builder::{BooleanBufferBuilder, GenericStringBuilder, 
ListBuilder};
+use arrow_array::{Array, ArrayRef, BooleanArray, GenericStringArray, 
OffsetSizeTrait};
+use arrow_data::bit_mask::combine_option_bitmap;
+use arrow_data::ArrayData;
+use arrow_schema::{ArrowError, DataType};
+use regex::Regex;
 use std::collections::HashMap;
-
 use std::sync::Arc;
 
-use regex::Regex;
+/// Perform SQL `array ~ regex_array` operation on [`StringArray`] / 
[`LargeStringArray`].

Review Comment:
   These functions are moved from `comparison.rs`



-- 
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]

Reply via email to