tustvold commented on issue #2001:
URL: https://github.com/apache/arrow-rs/issues/2001#issuecomment-1175232892

   Not fully thought through, but you could maybe do something like
   
   ```
   struct Decimal128Type {}
   struct Decimal256Type {}
   
   trait DecimalType {
     ...
   }
   
   impl DecimalType for Decimal128Type {}
   impl DecimalType for Decimal256Type {}
   
   struct GenericDecimalArray<T: DecimalType> {}
   ```
   
   


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