You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2021/12/07 06:51:36 UTC

[GitHub] [arrow-rs] liukun4515 opened a new issue #1011: add some utils function in `DataType`

liukun4515 opened a new issue #1011:
URL: https://github.com/apache/arrow-rs/issues/1011


   **Is your feature request related to a problem or challenge? Please describe what you are trying to do.**
   In some cases, I want to check the data type in one class, for example, an unsigned integer.
   I mush write this logic code
   ```
   matches!(data_type, DataType::UInt8| DataType::UInt16|DataType::UInt32 | DataType::UInt64) 
   ```
   This is not friendly to developers.
   
   We should add some utils function to check the datatype.
   
   **Describe the solution you'd like**
   A clear and concise description of what you want to happen.
   
   **Describe alternatives you've considered**
   A clear and concise description of any alternative solutions or features you've considered.
   
   **Additional context**
   Add any other context or screenshots about the feature request 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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org