GREATEST (Lakehouse v1)
Returns the maximum value from a set of values.
Analyze Syntax
Section titled “Analyze Syntax”func.greatest(<value1>, <value2> ...)Analyze Examples
Section titled “Analyze Examples”func.greatest((5, 9, 4))
┌──────────────────────────┐│ func.greatest((5, 9, 4)) │├──────────────────────────┤│ 9 │└──────────────────────────┘SQL Syntax
Section titled “SQL Syntax”GREATEST(<value1>, <value2> ...)SQL Examples
Section titled “SQL Examples”SELECT GREATEST(5, 9, 4);
┌───────────────────┐│ greatest(5, 9, 4) │├───────────────────┤│ 9 │└───────────────────┘