xhochy commented on a change in pull request #8114:
URL: https://github.com/apache/arrow/pull/8114#discussion_r484801005



##########
File path: cpp/src/arrow/python/type_traits.h
##########
@@ -105,7 +105,7 @@ struct npy_traits<NPY_FLOAT32> {
   using TypeClass = FloatType;
   using BuilderClass = FloatBuilder;
 
-  static constexpr float na_sentinel = NAN;
+  static constexpr float na_sentinel = std::numeric_limits<float>::quiet_NaN();

Review comment:
       Added a comment, the issue is that the Windows implementation of the 
macro is not fully compatible with clang's stictness.




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to