Re:How We Built a Vectorized SQL Engine
by jordanlewis on Monday November 11, 2019 @06:35PM
(#21510091)
For the record, the first approach was just used for simplicity in the blog post. The production system works differently (and doesn't have to waste memory per-datum) - we have typed containers, each of which have a primitive slice within.
https://github.com/cockroachdb/cockroach/blob/master/pkg/col...