hiltontj opened a new issue, #5839:
URL: https://github.com/apache/arrow-rs/issues/5839

   **Is your feature request related to a problem or challenge? Please describe 
what you are trying to do.**
   <!--
   A clear and concise description of what the problem is. Ex. I'm always 
frustrated when [...] 
   (This section helps Arrow developers understand the context and *why* for 
this feature, in addition to  the *what*)
   -->
   The 
[`TimeUnit`](https://github.com/apache/arrow-rs/blob/f42218ae5d9c9f0b9ea3365f2b1e6025a43b8c71/arrow-schema/src/datatype.rs#L329-L341)
 and 
[`IntervalUnit`](https://github.com/apache/arrow-rs/blob/f42218ae5d9c9f0b9ea3365f2b1e6025a43b8c71/arrow-schema/src/datatype.rs#L343-L360)
 types in the `arrow-schema` crate are not `Copy`, but they are enums with only 
unit variants, so they should be cheaply `Copy`.
   
   **Describe the solution you'd like**
   <!--
   A clear and concise description of what you want to happen.
   -->
   Derive `Copy` for these types.
   
   **Describe alternatives you've considered**
   <!--
   A clear and concise description of any alternative solutions or features 
you've considered.
   -->
   Can cheaply use clone, which is not the end of the world, but unless there 
is a reason to keep these types not-`Copy`, this would be an ergonomic 
improvement.
   
   **Additional context**
   <!--
   Add any other context or screenshots about the feature request here.
   -->
   N/A.


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