Columnar revision 3: FSST
Columnar revision 3 adds the FSST bytes codec (bytes codec id 3) to the layout of revision 2. Its first byte is 3. It is the layout that readers expand revisions 4 and 5 into in memory.
SEAM 1 writers produce this revision. A writer emits the lowest revision a block needs, so revision 3 is written whenever a block needs neither revision 4 nor revision 5.
Layout
Section titled “Layout”The layout is the layout of revisions 1 to 4. The column slot reference is count(c), as in revision 2: 0 for none, or r + 1 for a delta against an earlier column. See Column slot.
The FSST codec
Section titled “The FSST codec”FSST is bytes codec 3. It is written only from columnar revision 3 on. A writer tries it only with at least 16 values and at least 2 KiB of data, and keeps it only if it is smaller (and, for columns of 4 KiB or more, at least 5 percent smaller after zstd level 1). These heuristics are not part of the format. See FSST for the symbol table and the Corrupt rule for bad codes.