greatest
function
Applies to: Databricks SQL Databricks Runtime
Returns the greatest value of all arguments, skipping null values.
Arguments
exprN
: Any expression of a comparable type with a shared least common type across allexprN
.
Returns
The result type is the least common type of the arguments.