SAP HANA Data Types


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 type mappings applicable when working with an SAP HANA database.

SAP HANA Database Type

Spotfire Data Type

Supported

TINYINT

Integer/Int

Yes

SMALLINT

Integer/Int

Yes

INTEGER

Integer/Int

Yes

BIGINT

LongInteger/Long

Yes

FLOAT

SingleReal/Float

Yes

REAL

SingleReal/Float

Yes

DOUBLE

Real/Double

Yes

DECIMAL(p, s) / DEC

When p = 0 and s = 0: Currency/Decimal

When p <= 9 and s = 0: Integer

When 9 < p <= 18 and s = 0: LongInteger

When p <= 15 or p >= 29: Real/Double

Else: Currency/Decimal

Yes

SMALLDECIMAL

Currency/Decimal

Yes

STRING

String

Yes

TEXT

String

Yes

ALPHANUM

String

Yes

SHORTTEXT

String

Yes

VARCHAR

String

Yes

NVARCHAR

String

Yes

CHAR

String

Yes

NCHAR

String

Yes

SECONDDATE

DateTime

Yes

TIMESTAMP

DateTime

Yes

DATE

Date

Yes

TIME

Time

Yes

BOOLEAN

Boolean/Bool

Yes

VARBINARY

Binary

Yes

BINARY

Binary

Yes

BLOB

Binary

Yes

CLOB

String

Yes

NCLOB

String

Yes

BINTEXT

Binary

Yes

See also:

Supported Functions

Details on SAP HANA Connection