sisense.com

Reference - Column Data Types

When creating Tables and Columns, each Column has a type property specifying the data type of the Column using an int code.

Specifying a type is only required when creating Columns in a regular Table. For custom Tables, Columns are created automatically with the most appropriate type based on the SQL expression specified for the custom Table.

Versions L2021.9 or newer

The datatypes below apply to Datamodels in Sisense for Linux versions L2021.9 and higher.

CodeType
0BigInt
2Boolean
3Char
4Timestamp
5Decimal
6Float
8Integer
13Real
16SmallInt
18VarChar
20TinyInt
31Date
32Time
40Double
41Numeric
43TimestampWithTimezone
44TimeWithTimezone

Changes compared to previous versions:

  • DateTime (4) replaces Timestamp (19)
    This change is backwards compatible - Sisense will still accept the type 19 via the API.

Older linux versions

The datatypes below apply to Datamodels in older versions of Sisense for Linux.

CodeType
8Int
0BigInt
5Decimal
13Real
6Float
19Timestamp
18Text

Note that Sisense Datamodels do not have a specific representation for types such as bit or boolean - these are converted to the most appropriate supported data type, most commonly Text.

Last Updated: