Skip to content

Commit f3fc890

Browse files
authored
Add missing type annotation (#7326)
1 parent 1bf9a1b commit f3fc890

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

parquet/src/arrow/schema/primitive.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ fn from_parquet(parquet_type: &Type) -> Result<DataType> {
129129
}
130130

131131
fn decimal_type(scale: i32, precision: i32) -> Result<DataType> {
132-
if precision <= DECIMAL128_MAX_PRECISION as _ {
132+
if precision <= DECIMAL128_MAX_PRECISION as i32 {
133133
decimal_128_type(scale, precision)
134134
} else {
135135
decimal_256_type(scale, precision)

0 commit comments

Comments
 (0)