liukun4515 commented on issue #2702: URL: https://github.com/apache/arrow-rs/issues/2702#issuecomment-1248819412
@alamb @tustvold When I implement the left/right shift operation for the bitwise, I meet a issue. In the rust, the operation` << or shl` will be overflow which don't like the ` bitand, bitor`. The `warpping_shl` just support `wrapping_shl(self, u32) -> Self`, the `wrapping_shl` for generic type is feature in the rust https://github.com/rust-lang/rust/issues/90080 Do you have any thoughts about that? Can we add a new trait like `ArrowNativeTypeOp` to support the `shl_wrapping(self, u32) -> Self`? -- 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]
