When you are setting up a connection to an external data source, Spotfire needs to map the data types in the data source to data types in Spotfire. See below for a list of the different data types that Spotfire supports and the applied data type mappings when working with an Amazon Redshift database.
Amazon Redshift Data Type |
Spotfire Data Type |
GEOMETRY |
Binary |
BOOLEAN |
Boolean/Bool |
DATE |
Date |
TIMESTAMP |
DateTime |
TIMESTAMPTZ |
DateTime |
INTEGER |
Integer/Int |
SMALLINT |
Integer/Int |
BIGINT |
LongInteger/Long |
FLOAT |
Real |
DOUBLE PRECISION |
Real/Double |
REAL |
SingleReal/Float |
CHAR |
String |
VARCHAR |
String |
DECIMAL(p,s) |
When p <= 9 and s = 0: Integer/Int When 9 < p <= 18 and s = 0: LongInteger/Long When p <= 15: Real/Double Else: Currency/Decimal |
Any other data types are not supported.