Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-12318

[Rust][DataFusion] Add support for AVG(Timestamp) types

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Invalid
    • None
    • None
    • Rust - DataFusion
    • None

    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

      Attachments

        Activity

          People

            Unassigned Unassigned
            alamb Andrew Lamb
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: