[ 
https://issues.apache.org/jira/browse/ARROW-17289?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17574369#comment-17574369
 ] 

David Li commented on ARROW-17289:
----------------------------------

[~rtpsw] have you seen the predicates in {{type_traits.h}}? e.g. there is 
{{is_integer}} 
https://github.com/apache/arrow/blob/a9dcaff86960f3424c25d38c55fc6f8dcf0cdb9f/cpp/src/arrow/type_traits.h#L849

> [C++] Add type category membership checks
> -----------------------------------------
>
>                 Key: ARROW-17289
>                 URL: https://issues.apache.org/jira/browse/ARROW-17289
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: C++
>            Reporter: Yaron Gvili
>            Assignee: Yaron Gvili
>            Priority: Major
>
> Currently, type categories are only available as vectors, e.g., the category 
> of integer types is available via `arrow::IntTypes()`. This issue will add 
> type category membership test, e.g. `arrow::IsIntType(type)`.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to