HaoYang670 commented on code in PR #2006:
URL: https://github.com/apache/arrow-rs/pull/2006#discussion_r914338039
##########
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:
Actually we need it. But just as I said in
[#2001](https://github.com/apache/arrow-rs/issues/2001#issuecomment-1174489633),
this is an unstable, which is the major disadvantage of using `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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]