thisisnic commented on code in PR #50451:
URL: https://github.com/apache/arrow/pull/50451#discussion_r3568702532


##########
r/src/r_to_arrow.cpp:
##########
@@ -390,12 +391,12 @@ struct RConvert {
     return static_cast<float>(from);
   }
 
-  // ---- convert to half float: not implemented
+  // ---- convert to half float
   template <typename Type, typename From>
   static enable_if_t<std::is_same<Type, const HalfFloatType>::value,
                      Result<typename Type::c_type>>
   Convert(Type*, From from) {
-    return Status::Invalid("Cannot convert to Half Float");

Review Comment:
   Sure, I get how floats work, but we don't expose all of the C++ API in R, 
and I'm weighing up where this sits in terms of balancing functionality for 
advanced users without introducing complexity for less advanced users.



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

Reply via email to