I want to reuse the same struct in multiple user defined functions. Is there any way to alias the type so I don't have to write down the definition in full each time?
I.e. something like
DECLARE TYPE mystruct = STRUCT<key STRING, value STRUCT<int_value INT64, float_value FLOAT64, ...>>;
CREATE TEMP FUNCTION foo(x mystruct) ...
CREATE TEMP FUNCTION bar(x mystruct) ...