You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
power(decimal, integer) overflow for moderate exponents #22480
power(decimal, integer) computes base ^ exp on the unscaled integer representation and then normalizes, which leads to overflows before normalization for reasonably sized inputs.
To Reproduce
SELECT power(2.5::decimal(20, 4), 10);
-- Arrow error: Arithmetic overflow: Cannot raise base 25000 to exp 10
Activity
neilconway commentedon May 23, 2026
take
fix: Remove `power(decimal, int)` code path (apache#22651)