hmm = {
const f = new arrow.FixedSizeList(
5,
new arrow.Field("inner", new arrow.Float16())
);
const data = [
new Float32Array([1.1, 2.2, 3.3, 4.4, 5.5]),
new Float32Array([6.6, 7.7, 8.8, 9.9, 10.1])
];
const arrays = data.map((float32Array) => {
return arrow.makeVector(data);
});
let builder = arrow.makeBuilder({
type: f,
children: [{ type: new arrow.Float16() }]
});
for (let datum of data) {
builder = builder.append(datum);
}
const v = builder.finish().toVector();
return v;
}