andygrove commented on issue #2922:
URL: 
https://github.com/apache/arrow-datafusion/issues/2922#issuecomment-1185959157

   If anyone is interested in picking this up, it looks like it is probably a 
one liner (plus tests).
   
   We need to add an additional mapping here in 
`datafusion/expr/src/aggregate_function.rs`
   
   ```
   impl FromStr for AggregateFunction {
       type Err = DataFusionError;
       fn from_str(name: &str) -> Result<AggregateFunction> {
           Ok(match name {
               "min" => AggregateFunction::Min,
               "max" => AggregateFunction::Max,
               "count" => AggregateFunction::Count,
               "avg" => AggregateFunction::Avg,
   ```


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to