Skip to content

Columnar revision 2 adds cross-column integer deltas (the value-column reference) to the base layout. Its first byte is 2.

Read-only: SEAM 1 readers accept it, SEAM 1 writers do not produce blocks whose first byte is 2. The reference field itself is still written, inside revision 3, 4 and 5 blocks.

In value mode 1 every column slot now begins with a reference field encoded as count(c), where c is the index of the column. The reference is either 0 (none) or r + 1 with r less than c. In the second case the ints of this column are stored as wrapping deltas against the ints of column r. The two columns must have the same int count. Writers only pick a reference when the tag columns are also equal.

Revision 2 has no key-reference form. The reference can only point to an earlier column, never to a key field.