I am trying to return the last value in an array, but I\'m getting the following error:
Error running query: function max(integer[]) does not exist HINT: No function matc