USER_DEFINED_FUNCTIONS error class
User defined function is invalid:
NOT_A_VALID_DEFAULT_EXPRESSION
The DEFAULT
expression of <functionName>
.<parameterName>
is not supported because it contains a subquery.
NOT_A_VALID_DEFAULT_PARAMETER_POSITION
In routine <functionName>
parameter <parameterName>
with DEFAULT
must not be followed by parameter <nextParameterName>
without DEFAULT
.
NOT_NULL_ON_FUNCTION_PARAMETERS
Cannot specify NOT NULL
on <languageName>
function parameters: <input>
SQL_TABLE_UDF_MISSING_COLUMN_NAMES
The relation returned by the query in the CREATE FUNCTION
statement for <functionName>
with RETURNS TABLE
clause lacks explicit names for one or more output columns; please rewrite the function body to provide explicit column names or add column names to the RETURNS TABLE
clause, and re-run the command.