xngin icon indicating copy to clipboard operation
xngin copied to clipboard

Codec of DATE

Open jiangzhe opened this issue 2 years ago • 0 comments

Usually we can encode date as u32, 2 bytes for year, 1 byte for month, 1 byte for day. Truncation codec may improve filter performance, that means we store minimum date on block level, then compact the offsets as u8 or u16 to speed up SIMD.

jiangzhe avatar Mar 19 '22 02:03 jiangzhe