Skip to content

Commit

Permalink
use usize_as
Browse files Browse the repository at this point in the history
  • Loading branch information
Weijun-H committed Dec 2, 2023
1 parent 4861538 commit 328ad3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datafusion/physical-expr/src/array_expressions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ fn array_array<O: OffsetSizeTrait>(
mutable.extend_nulls(1);
}
}
offsets.push(O::from_usize(mutable.len()).unwrap());
offsets.push(O::usize_as(mutable.len()));
}
let data = mutable.freeze();

Expand Down

0 comments on commit 328ad3c

Please sign in to comment.