Data types

The type system is derived from Java types.

Type NameStorage bitsDescription
boolean1boolean true or false
byte8signed integer -128 to 127
short16signed integer -32768 to 32767
char16unicode character
int32signed integer 0x80000000 to 0x7fffffff
float32single precision IEEE 754 floating point value
symbol32Symbols are stored as 32-bit signed indexes from symbol table. Each index will have a corresponding string value. Translation from index to string value is done automatically when data is being written or read. Symbol table is stored separately from column.
string32+n*16Length-prefixed sequence of UTF-16 encoded characters whose length is stored as signed 32-bit integer with maximum value of 0x7fffffff.
long64signed integer 0x8000000000000000L to 0x7fffffffffffffffL
date64signed offset in milliseconds from Unix Epoch
timestamp64signed offset in microseconds from Unix Epoch
double64double precision IEEE 754 floating point value
binary64+n*8Length-prefixed sequence of bytes whose length is stored as signed 64-bit integer with maximum value of 0x7fffffffffffffffL.
long256256unsigned 256-bit integer
info

BINARY field size is limited either by 64-Bit signed int (8388608 peta bytes) or disk size, whichever is smaller.

info

STRING field size is limited by either 32-bit signed int (1073741824 characters) or disk size, whichever is smaller.