From f867c0410d08a2aa4e7b248722dc5e37a3dcc79a Mon Sep 17 00:00:00 2001 From: Andy Grove Date: Mon, 11 Nov 2024 12:42:26 -0700 Subject: [PATCH] clippy --- native/spark-expr/src/cast.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/native/spark-expr/src/cast.rs b/native/spark-expr/src/cast.rs index bbd968232..13263a595 100644 --- a/native/spark-expr/src/cast.rs +++ b/native/spark-expr/src/cast.rs @@ -830,7 +830,7 @@ fn cast_struct_to_struct( allow_incompat: bool, ) -> DataFusionResult { match (from_type, to_type) { - (DataType::Struct(from_fields), DataType::Struct(to_fields)) => { + (DataType::Struct(_), DataType::Struct(to_fields)) => { let mut cast_fields: Vec<(Arc, ArrayRef)> = Vec::with_capacity(to_fields.len()); for i in 0..to_fields.len() { let cast_field = cast_array(