Use user-defined aggregate functions|V4.2.5|OceanBase Database|docs|OceanBase Documentations