Hive has min(col) to find the minimum value of a column. But how about finding the minimum of multiple values (NOT one column), for example
select min(2,1,3,4);
returns
FAILED: UDFArgumentTypeException Exactly one argument is expected
Any tips?