title: How to have a lambda max(a,b) function in ClickHouse?
body: <p>Is there a way, using ClickHouse's lambdas, to perform a max function over two integers ?
  Like so:</p>
  
  <pre><code>SELECT 
      [0,1,2,3,4,5] as five, 
      arrayMap(i -&gt; max(five[i], 3), arrayEnumerate(five)) as X
  </code></pre>
  
  <p>Returns</p>
  
  <pre><code>     five        expected X   
  0,1,2,3,4,5     3,3,3,3,4,5
  </code></pre>