lidavidm commented on code in PR #13783:
URL: https://github.com/apache/arrow/pull/13783#discussion_r939010844


##########
cpp/src/arrow/type_traits.h:
##########
@@ -942,6 +991,42 @@ static inline bool is_primitive(Type::type type_id) {
   return false;
 }
 
+/// \brief Check for a primitive-like type
+///
+/// \param[in] type_id the type-id to check
+/// \return whether type-id is a primitive-like type one
+static inline bool is_primitive_like(Type::type type_id) {

Review Comment:
   Would `is_not_nested` or something be clearer here? "primitive-like" is a 
little confusing (though, I suppose that then raises the question of why 
fixed-width binary and decimal are also missing here)



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