mapleFU opened a new issue, #46417: URL: https://github.com/apache/arrow/issues/46417
### Describe the bug, including details regarding any error messages, version, and platform. Should change to: ```c++ inline typename LogicalType::EdgeInterpolationAlgorithm LoadEnumSafe( const format::EdgeInterpolationAlgorithm::type* in) { const auto raw_value = internal::LoadEnumRaw(in); if (ARROW_PREDICT_FALSE(raw_value < format::EdgeInterpolationAlgorithm::SPHERICAL || raw_value > format::EdgeInterpolationAlgorithm::KARNEY)) { return LogicalType::EdgeInterpolationAlgorithm::UNKNOWN; } return FromThriftUnsafe(*in); } ``` ### Component(s) C++, Parquet -- 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: issues-unsubscr...@arrow.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org