CREATE OR REPLACE AGGREGATE FUNCTION ${self()}(b ANY TYPE)
RETURNS ANY TYPE
....
I've also noticed that it is possible to overload on types for CREATE TEMPORARY FUNCTION but not CREATE FUNCTION, thus these all have their argument types in the name.
If I've missed a way to avoid duplicating the code, please let me know.
For b/357127978
Unfortunately I can't declare these as
I've also noticed that it is possible to overload on types for
CREATE TEMPORARY FUNCTION
but notCREATE FUNCTION
, thus these all have their argument types in the name.If I've missed a way to avoid duplicating the code, please let me know.