Skip to content

Commit

Permalink
fix fmt.
Browse files Browse the repository at this point in the history
  • Loading branch information
Rachelint committed Sep 9, 2024
1 parent ea47890 commit 07dd492
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
5 changes: 2 additions & 3 deletions datafusion/functions/src/string/btrim.rs
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,7 @@ impl ScalarUDFImpl for BTrimFunc {
#[cfg(test)]
mod tests {
use arrow::array::{Array, StringArray, StringViewArray};
use arrow::datatypes::DataType::{Utf8View, Utf8};

use arrow::datatypes::DataType::{Utf8, Utf8View};

use datafusion_common::{Result, ScalarValue};
use datafusion_expr::{ColumnarValue, ScalarUDFImpl};
Expand Down Expand Up @@ -240,4 +239,4 @@ mod tests {
StringArray
);
}
}
}
3 changes: 1 addition & 2 deletions datafusion/functions/src/string/ltrim.rs
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,7 @@ impl ScalarUDFImpl for LtrimFunc {
#[cfg(test)]
mod tests {
use arrow::array::{Array, StringArray, StringViewArray};
use arrow::datatypes::DataType::{Utf8View, Utf8};

use arrow::datatypes::DataType::{Utf8, Utf8View};

use datafusion_common::{Result, ScalarValue};
use datafusion_expr::{ColumnarValue, ScalarUDFImpl};
Expand Down
3 changes: 1 addition & 2 deletions datafusion/functions/src/string/rtrim.rs
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,7 @@ impl ScalarUDFImpl for RtrimFunc {
#[cfg(test)]
mod tests {
use arrow::array::{Array, StringArray, StringViewArray};
use arrow::datatypes::DataType::{Utf8View, Utf8};

use arrow::datatypes::DataType::{Utf8, Utf8View};

use datafusion_common::{Result, ScalarValue};
use datafusion_expr::{ColumnarValue, ScalarUDFImpl};
Expand Down

0 comments on commit 07dd492

Please sign in to comment.