pmarks opened a new issue, #8823: URL: https://github.com/apache/arrow-rs/issues/8823
The bound on ValueStatistics is T: ParquetValueType, which isn't public. So it is impossible to call the methods on ValueStatistics from a generic function in another crate, forcing the use of macros to generate a call for each concrete type. The impl of ValueStatistics will compile is the bound is AsBytes, so I will send a PR for that. I want a more ergonomic way to interact with Statistics - right now you either have to use [Statistics::min_bytes_opt](https://docs.rs/parquet/57.0.0/parquet/file/statistics/enum.Statistics.html#method.min_bytes_opt) and do your own conversion, or use StatisticsConverter, which is an inconvenient API shape for my use case. The alternative would be to make ParquetValueType be public, which seems like a much bigger commitement and is not necessary in this case. -- 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]
