The only missing piece is the construction of the binary string to be returned by the function.
惟一缺少的部分就是函数所返回的二进制串的构造。
Note that, depending on the data type of your grouping parameter, you might need a longer binary string.
注意,根据分组参数的数据类型不同,您可能需要使用更长的二进制串。
The getAggregateResult UDF (set in italics) needs to decode the binary string and access the correct aggregation object.
getAggregateResult UDF(设置为 斜体)需要对二进制串解码,然后访问正确的聚集对象。
应用推荐