Skip to content

Commit 9aeb678

Browse files
committed
cargo fmt
1 parent 59d3eae commit 9aeb678

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

  • datafusion/physical-expr/src/expressions

datafusion/physical-expr/src/expressions/cast.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -340,10 +340,10 @@ pub(crate) fn cast_with_target_field_and_options(
340340
let cast_type = target_field.data_type();
341341
let is_valid_cast = expr_type == *cast_type
342342
|| match (&expr_type, cast_type) {
343-
// Allow struct-to-struct casts that pass name-based compatibility validation.
344-
// This validation is applied at planning time (now) to fail fast, rather than
345-
// deferring errors to execution time. The name-based casting logic will be
346-
// executed at runtime via ColumnarValue::cast_to.
343+
// Allow struct-to-struct casts that pass name-based compatibility validation.
344+
// This validation is applied at planning time (now) to fail fast, rather than
345+
// deferring errors to execution time. The name-based casting logic will be
346+
// executed at runtime via ColumnarValue::cast_to.
347347
(Struct(_), Struct(_)) => can_cast_struct_types(&expr_type, cast_type),
348348
_ => can_cast_types(&expr_type, cast_type),
349349
};

0 commit comments

Comments
 (0)