jhorstmann commented on issue #9324: URL: https://github.com/apache/arrow-rs/issues/9324#issuecomment-3833811419
Documenting this requirement in `FromBytes` would be the easiest and most compatible option. Another option could be to further restrict `get_batch` to `T: FromBytes + ArrowNativeType`, since that is a sealed type. I think inside the arrow and parquet code bases that method is only ever called with `i16`, `i32` or `i64`, so we could even introduce another more specific trait for it. -- 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]
