[ 
https://issues.apache.org/jira/browse/ARROW-12318?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrew Lamb updated ARROW-12318:
--------------------------------
    Description: 
This is a follow on to ARROW-12277

Background: Support for Min/Max/Sum/Count were added for DataType::Timestamp(*) 
types in https://github.com/apache/arrow/pull/9970.

This ticket tracks adding support for Avg, which is slightly more involved as 
currently Avg assumes the output type is always F64, and in this case I think 
Avg(timestamp) should also be (timestamp). We should double check what postgres 
does in this case and follow its example


  was:
This is a follow on to ARROW-12277

Background: Support for Min/Max/Sum/Count were added for DataType::Timestamp(*) 
types in https://github.com/apache/arrow/pull/9970.

This ticket tracks adding support for Avg, which is slightly more involved as 
currently Avg assumes the output type is always F64, and in this case I think 
Avg(timestamp) should also be (timestamp). We should double check what postgres 
does in this case.



> [Rust][DataFusion] Add support for AVG(Timestamp) types
> -------------------------------------------------------
>
>                 Key: ARROW-12318
>                 URL: https://issues.apache.org/jira/browse/ARROW-12318
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: Rust - DataFusion
>            Reporter: Andrew Lamb
>            Priority: Minor
>
> This is a follow on to ARROW-12277
> Background: Support for Min/Max/Sum/Count were added for 
> DataType::Timestamp(*) types in https://github.com/apache/arrow/pull/9970.
> This ticket tracks adding support for Avg, which is slightly more involved as 
> currently Avg assumes the output type is always F64, and in this case I think 
> Avg(timestamp) should also be (timestamp). We should double check what 
> postgres does in this case and follow its example



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to