viirya commented on code in PR #2006: URL: https://github.com/apache/arrow-rs/pull/2006#discussion_r914294001
########## arrow/src/array/array_decimal.rs: ########## @@ -32,7 +32,16 @@ use crate::datatypes::{ DECIMAL_MAX_SCALE, }; use crate::error::{ArrowError, Result}; -use crate::util::decimal::{BasicDecimal, Decimal128}; +use crate::util::decimal::{BasicDecimal, Decimal128, Decimal256}; +use std::marker::PhantomData; + +pub struct GenericDecimalArray<T: BasicDecimal, const VALUE_LENGTH: i32> { Review Comment: Don't we need a type bound to `Decimal<BYTE_LENGTH>` even for const generic? -- 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-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org