xinlifoobar commented on code in PR #6180:
URL: https://github.com/apache/arrow-rs/pull/6180#discussion_r1708924832
##########
arrow-cast/src/cast/mod.rs:
##########
@@ -1413,10 +1437,34 @@ pub fn cast_with_options(
"Casting from {from_type:?} to {to_type:?} not supported",
))),
},
- (BinaryView, Binary) => cast_view_to_byte::<BinaryViewType,
GenericBinaryType<i32>>(array),
- (BinaryView, LargeBinary) => {
- cast_view_to_byte::<BinaryViewType, GenericBinaryType<i64>>(array)
- }
+ (BinaryView, _) => match to_type {
Review Comment:
Just for keeping the style as the same as the above clauses... Done.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]