File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
native/spark-expr/src/conversion_funcs Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -248,7 +248,7 @@ fn can_cast_from_string(to_type: &DataType, options: &SparkCastOptions) -> bool
248248 }
249249}
250250
251- fn can_cast_to_string ( from_type : & DataType , options : & SparkCastOptions ) -> bool {
251+ fn can_cast_to_string ( from_type : & DataType , _options : & SparkCastOptions ) -> bool {
252252 use DataType :: * ;
253253 match from_type {
254254 Boolean | Int8 | Int16 | Int32 | Int64 | Date32 | Date64 | Timestamp ( _, _) => true ,
@@ -267,7 +267,7 @@ fn can_cast_to_string(from_type: &DataType, options: &SparkCastOptions) -> bool
267267 Binary => true ,
268268 Struct ( fields) => fields
269269 . iter ( )
270- . all ( |f| can_cast_to_string ( f. data_type ( ) , options ) ) ,
270+ . all ( |f| can_cast_to_string ( f. data_type ( ) , _options ) ) ,
271271 _ => false ,
272272 }
273273}
You can’t perform that action at this time.
0 commit comments