Skip to content

Add support for AVG(Timestamp) types #200

Description

@alamb

Note: migrated from original JIRA: https://issues.apache.org/jira/browse/ARROW-12318

This is a follow on to ARROW-12277

Background: Support for Min/Max/Sum/Count were added for DataType::Timestamp(*) types in apache/arrow#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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions