Skip to content

Commit

Permalink
fmt updates.
Browse files Browse the repository at this point in the history
  • Loading branch information
Omega359 committed Feb 15, 2024
1 parent 6d2af9e commit 74c04e6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
6 changes: 3 additions & 3 deletions datafusion/physical-expr/src/conditional_expressions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
// specific language governing permissions and limitations
// under the License.

use arrow::array::{Array, BooleanArray, new_null_array};
use arrow::compute::{and, is_not_null, is_null};
use arrow::array::{new_null_array, Array, BooleanArray};
use arrow::compute::kernels::zip::zip;
use arrow::compute::{and, is_not_null, is_null};

use datafusion_common::{DataFusionError, exec_err, Result};
use datafusion_common::{exec_err, DataFusionError, Result};
use datafusion_expr::ColumnarValue;

/// coalesce evaluates to the first value which is not NULL
Expand Down
8 changes: 3 additions & 5 deletions datafusion/physical-expr/src/regex_expressions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,20 +24,18 @@
use std::sync::{Arc, OnceLock};

use arrow::array::{
Array, ArrayDataBuilder, ArrayRef, BufferBuilder, GenericStringArray, new_null_array,
new_null_array, Array, ArrayDataBuilder, ArrayRef, BufferBuilder, GenericStringArray,
OffsetSizeTrait,
};
use hashbrown::HashMap;
use regex::Regex;

use datafusion_common::{arrow_datafusion_err, exec_err, plan_err};
use datafusion_common::{
cast::as_generic_string_array, DataFusionError, Result,
};
use datafusion_common::{cast::as_generic_string_array, DataFusionError, Result};
use datafusion_expr::{ColumnarValue, ScalarFunctionImplementation};

use crate::functions::{
Hint, make_scalar_function_inner, make_scalar_function_with_hints,
make_scalar_function_inner, make_scalar_function_with_hints, Hint,
};

/// Get the first argument from the given string array.
Expand Down

0 comments on commit 74c04e6

Please sign in to comment.