prestodb/presto

Use @TypeParameter to simplify array_agg aggregation function

Open

#21,361 opened on Nov 10, 2023

View on GitHub
 (1 comment) (0 reactions) (1 assignee)Java (5,240 forks)batch import
functiongood first issue

Repository metrics

Stars
 (15,558 stars)
PR merge metrics
 (Avg merge 34d 14h) (120 merged PRs in 30d)

Description

With the merge of #21316 we can now simplify this aggregation function implementation by using @TypeParameter annotations in the serializer and state factory classes, which means the function can be entirely converted to using the function annotation framework. This will simplify the implementation and improve maintainability.

Contributor guide