You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Kyle Weaver (Jira)" <ji...@apache.org> on 2021/10/12 21:15:00 UTC

[jira] [Created] (BEAM-13039) Update SQL (Calcite) aggregate functions list

Kyle Weaver created BEAM-13039:
----------------------------------

             Summary: Update SQL (Calcite) aggregate functions list
                 Key: BEAM-13039
                 URL: https://issues.apache.org/jira/browse/BEAM-13039
             Project: Beam
          Issue Type: Improvement
          Components: dsl-sql
            Reporter: Kyle Weaver
            Assignee: Kyle Weaver


The list of supported aggregate functions on the website is out of date. We should update it. 

[https://beam.apache.org/documentation/dsls/sql/calcite/aggregate-functions/]

Ideally we could link to the code, rather than having to manually maintain a list. This is complicated by the fact that the map of aggregate functions is separated into two files in the code. I think this distinction is arbitrary and the two could probably be consolidated into a single file (with all of the function definitions possibly being separated into their own files to avoid bloat).

 [https://github.com/apache/beam/blob/master/sdks/java/extensions/sql/src/main/java/org/apache/beam/sdk/extensions/sql/impl/transform/BeamBuiltinAggregations.java]

https://github.com/apache/beam/blob/master/sdks/java/extensions/sql/src/main/java/org/apache/beam/sdk/extensions/sql/impl/transform/BeamBuiltinAnalyticFunctions.java

 



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