prestodb / presto

The official home of the Presto distributed SQL query engine for big data
http://prestodb.io
Apache License 2.0
15.97k stars 5.35k forks source link

Add additional type support for KLL Sketches #23114

Closed ZacBlanco closed 2 months ago

ZacBlanco commented 3 months ago

Description

This PR adds support for additional types in the KLL aggregation functions. New types supported:

  1. real
  2. smallint
  3. tinyint
  4. date
  5. time
  6. timestamp
  7. timestamp with timezone

Motivation and Context

More type support for histogram statistic use.

Impact

No API impact. Just additions to existing function surface

Test Plan

Contributor checklist

Release Notes

If release note is NOT required, use:

== NO RELEASE NOTE ==