Is it possible to create customized aggregation UDF function in Redshift? If yes, where can I find the tutorial or documentation of that?
my data looks like
A B time_series
a1 b1 "[1,2,3]"
a1 b2 "[2,3,4]"
a2 b1 "[2,2,2]"
I want to groupby A or B and get the average time series.
for example, group by A
a1 "[1.5, 2.5, 3.5]"
a2 "[2,2,2]"