3 ms·
I wonder if a columnar storage format should implement sum types with a struct of arrays where only one array has a nun-null value for each index.
by infogulch 11mo ago
I wonder if a columnar storage format should implement sum types with a struct of arrays where only one array has a nun-null value for each index.
- ozgrakkurt 11mo agoArrow has two variants of it and this is one of them. Other variant has a seperate offsets array that you use to index into the active “field” array, so it is slower to process in most cases but is more compact