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

select * from (select x,[3,4] as y from as_table($data)) flatten list by y
