facebook/presto — pull request #1355 by martint (2014-06-04 05:19:07+00:00)
Title: Implement simple version of greatest/least

Only 2-arg versions for common types: double, bigint, timestamp (with tz), date

Once we support varargs we'll replace them with a generic version.