File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -214,12 +214,13 @@ impl DType {
214214 let scale = dt. scale ( ) ;
215215
216216 match precision {
217- // DECIMAL32_MAX_PRECISION
218- 0 ..=9 => DataType :: Decimal32 ( precision, scale) ,
219- // DECIMAL64_MAX_PRECISION
220- 10 ..=18 => DataType :: Decimal64 ( precision, scale) ,
217+ // This code is commented out until DataFusion improves its support for smaller decimals.
218+ // // DECIMAL32_MAX_PRECISION
219+ // 0..=9 => DataType::Decimal32(precision, scale),
220+ // // DECIMAL64_MAX_PRECISION
221+ // 10..=18 => DataType::Decimal64(precision, scale),
221222 // DECIMAL128_MAX_PRECISION
222- 19 ..=38 => DataType :: Decimal128 ( precision, scale) ,
223+ 0 ..=38 => DataType :: Decimal128 ( precision, scale) ,
223224 // DECIMAL256_MAX_PRECISION
224225 39 .. => DataType :: Decimal256 ( precision, scale) ,
225226 }
You can’t perform that action at this time.
0 commit comments