Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
User defined function is invalid:
SQL scalar function cannot contain aggregate/window/generate functions: <queryText>
Cannot replace the non-SQL function <name>
with a SQL function.
This command includes calls to SQL user-defined function <functionName>
which contains subquery expressions with correlated outer references; this feature is is not implemented yet
Found duplicate name(s) in the CREDENTIALS
clause of the user-defined function <functionName>
.
Invalid environment_version value <environment_version>
. This Databricks runtime version only supports value 'None'
The environment_version field must be set.
Failed to serialize credentials for user-defined function with credentials: <credentialMappings>
and default credential: <defaultCredentialName>
.
Multiple default credentials are not allowed in the CREDENTIALS
clause of the user-defined function <functionName>
.
The DEFAULT
expression of <functionName>
.<parameterName>
is not supported because it contains a subquery.
In routine <functionName>
parameter <parameterName>
with DEFAULT
must not be followed by parameter <nextParameterName>
without DEFAULT
.
Cannot specify NOT NULL
on <languageName>
function parameters: <input>
The number of columns produced by the RETURN
clause (num: <outputSize>
) does not match the number of column names specified by the RETURNS
clause (num: <returnParamSize>
) of <name>
.
SQL table function <name>
body must be a query.
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.
Must specify an explicit RETURNS
clause for user-defined <functionType>
function.
Unexpected environment settings for <languageName>
user defined functions: <invalidKeys>
(valid settings are: <validKeys>
). Update the ENVIRONMENT
clause and try again.