Skip to content

Commit

Permalink
adding dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
Lordworms committed Mar 2, 2024
1 parent 7769fca commit 6949611
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions datafusion/functions/src/regex/regexplike.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,9 @@
// under the License.

//! Encoding expressions
use arrow::array::{Array, ArrayRef, BooleanBuilder, OffsetSizeTrait};
use arrow::array::{Array, ArrayRef, OffsetSizeTrait};
use arrow::compute::kernels::regexp;
use arrow::datatypes::DataType;
use arrow_array::StringArray;
use datafusion_common::exec_err;
use datafusion_common::ScalarValue;
use datafusion_common::{arrow_datafusion_err, plan_err};
Expand Down Expand Up @@ -185,11 +184,9 @@ pub fn regexp_like<T: OffsetSizeTrait>(args: &[ArrayRef]) -> Result<ArrayRef> {
}
}
mod tests {
use std::sync::Arc;

use arrow::array::{BooleanBuilder, StringArray};

use crate::regex::regexplike::regexp_like;
use arrow::array::{BooleanBuilder, StringArray};
use std::sync::Arc;

#[test]
fn test_case_sensitive_regexp_like() {
Expand Down

0 comments on commit 6949611

Please sign in to comment.