/* syntax version 1 */
/* postgres can not */
pragma EmitAggApply;

SELECT
    sum(key)
FROM (values (1u),(null),(3u)) as a(key)