The CREATE FUNCTION or REPLACE FUNCTION statement for a table UDF must specify parameter style SQL, which allows the table UDF to pass nulls for the result and for input arguments.
Parameter style SQL requires you to declare indicator parameters for each result and for each input parameter.