Skip to content

Commit

Permalink
Fixed format problem
Browse files Browse the repository at this point in the history
  • Loading branch information
CurtHagenlocher committed Feb 6, 2025
1 parent 5ffbdc9 commit 0c90b05
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion arrow-cast/src/cast/dictionary.rs
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,10 @@ where
.as_dictionary::<K>()
.downcast_dict::<PrimitiveArray<D>>()
.ok_or_else(|| {
ArrowError::ComputeError(format!("Internal Error: Cannot cast dict to {}Array", D::PREFIX))
ArrowError::ComputeError(format!(
"Internal Error: Cannot cast dict to {}Array",
D::PREFIX
))
})?;
let value = dict.values().clone();
// Set correct precision/scale
Expand Down

0 comments on commit 0c90b05

Please sign in to comment.