What is the function to cast an expression to TINYINT in Databricks SQL and Databricks Runtime?
The function to cast an expression to TINYINT in Databricks SQL and Databricks Runtime is `tinyint()`. This function is a synonym for `CAST(expr AS TINYINT)`. The argument `expr` can be any expression which is castable to TINYINT. The function returns the result as TINYINT. For example, `> SELECT tinyint('12');` returns `12` and `> SELECT tinyint(5.4);` returns `5`.