@kustosz reported that Table.aggregate does not allow applying Length function onto column of type string. While generally aggregate functions were written with arithmetic types in mind, there's no reason not to allow Length working with any type of data. Length just counts elements in group, it doesn't care what element type is.
The check has been moved (we still need to prevent instantiation of numeric aggregator templates with strings) and additional function has been introduced to check if given aggregate function works with given column type.
@kustosz reported that Table.aggregate does not allow applying
Length
function onto column of typestring
. While generally aggregate functions were written with arithmetic types in mind, there's no reason not to allowLength
working with any type of data.Length
just counts elements in group, it doesn't care what element type is.The check has been moved (we still need to prevent instantiation of numeric aggregator templates with strings) and additional function has been introduced to check if given aggregate function works with given column type.