Skip to content

Commit

Permalink
Add operation in ArrowNativeTypeOp::neg_check error message (apache#5944
Browse files Browse the repository at this point in the history
)
  • Loading branch information
zhao-gang committed Jun 29, 2024
1 parent a7b4a3b commit e5da814
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arrow-array/src/arithmetic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ macro_rules! native_type_op {
#[inline]
fn neg_checked(self) -> Result<Self, ArrowError> {
self.checked_neg().ok_or_else(|| {
ArrowError::ComputeError(format!("Overflow happened on: {:?}", self))
ArrowError::ComputeError(format!("Overflow happened on: - {:?}", self))
})
}

Expand Down

0 comments on commit e5da814

Please sign in to comment.