timeVector = {
const data = Array.from({ length: 100 }).map((_, i) => new Date(i * 1000));
const builder = new arrow.TimestampSecondBuilder({
type: new arrow.TimestampSecond(),
nullValues: [null, undefined]
});
data.forEach((d) => {
builder.append(d);
});
return builder.finish().toVector();
}