Applies to: Databricks SQL Databricks Runtime
Returns an error if
expr is not true.
message: An optional
STRINGexpression with a message. The default is
'<condition>' is not true!.
NULL if no error is returned.
Applies to: Databricks SQL Databricks Runtime 14.2 and later
The returned error class is
USER_RAISED_EXCEPTION and the
See Handling error conditions for details on handling error conditions.