andishgar commented on issue #50080: URL: https://github.com/apache/arrow/issues/50080#issuecomment-4608116930
regarding the comment above: >1-FixedSizeBinary is parametric, for example FixedSizeBinary(2) and FixedSizeBinary(3) are different types `FixedSizeBinary` → `FixedSizeBinary` kernel only executes when the widths are different. This suggests we need to modify the kernel for this case. Note that reaching this part of the code already indicates an invalid cast, so no special handling for same-type FixedSizeBinary is needed—it would have been resolved earlier. Currently, FixedSizeBinary casting only returns an error when the byte widths are not equal according to the below code https://github.com/apache/arrow/blob/73742e82ed771cb7df40789882e220118045123b/cpp/src/arrow/compute/kernels/scalar_cast_string.cc#L653-L656 -- 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]
