pragma config.flags("PeepholeFlags","UseAggPhases");

$data = [<|x:1|>,<|x:3|>,<|x:2|>];

select sum(x) from as_table($data);
