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
support for automatic value promotion for aggregation functions #551
Is your feature request related to a problem or challenge? Please describe what you are trying to do.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
(This section helps Arrow developers understand the context and why for this feature, in addition to the what)
for now,
selectsum(c5) from test;
will err:
> select sum(c5) from test;
thread 'tokio-runtime-worker' panicked at 'attempt to add with overflow', /Users/jiayu_liu/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/src/rust/library/core/src/ops/arith.rs:107:1
ArrowError(ExternalError(Canceled))
even avg will do the same because it depends on sum.
Describe the solution you'd like
A clear and concise description of what you want to happen.
have automatic value promotion into wider type
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
Activity
feat: add scalar subquery pushdown to scan (apache#678)
fix: Spark 4.0 SparkArithmeticException test (apache#688)
Add missing array functions (apache#551)
alamb commentedon Mar 10, 2026
I think we have fixed this by using larger integer types for sum
let's close this one out as done and we can reopen a new issue to track any specific symptoms w/ a specific reproducer