Jimexist opened a new issue #551:
URL: https://github.com/apache/arrow-datafusion/issues/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,
   
   ```sql
   select sum(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.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to