We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4d0bfaf commit ba4bd86Copy full SHA for ba4bd86
1 file changed
vortex-array/src/aggregate_fn/fns/count/mod.rs
@@ -136,10 +136,12 @@ mod tests {
136
acc.accumulate(array, ctx)?;
137
let result = acc.finish()?;
138
139
- Ok(result
140
- .as_primitive()
141
- .typed_value::<u64>()
142
- .vortex_expect("count result should not be null") as usize)
+ Ok(usize::try_from(
+ result
+ .as_primitive()
+ .typed_value::<u64>()
143
+ .vortex_expect("count result should not be null"),
144
+ )?)
145
}
146
147
#[test]
0 commit comments