Reading and writing Arrow column metadata

For reference, if I change the for loop to only loop once as in

for i in 1:1
    result = rand(2, 2) .+ i
    Arrow.write(writer, Tables.table(result)) #, header=[:a,:b])
end

Then the colmetadata works.