Cloudera Impala 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 a Cloudera Impala database.

Cloudera Impala Database Type

Spotfire Data Type

Supported

BOOLEAN

Boolean/Bool

Yes

INT

Integer/Int

Yes

BIGINT

LongInteger/Long

Yes

TINYINT

Integer/Int

Yes

SMALLINT

Integer/Int

Yes

DOUBLE

Real/Double

Yes

FLOAT

SingleReal/Float

Yes

DECIMAL(p,s)

When p <= 9 and s = 0: Integer
When 9 < p <= 18 and s = 0: LongInteger
Else: Real

Yes

CHAR

String

Yes

VARCHAR

String

Yes

STRING

String

Yes

TIMESTAMP

DateTime

Yes

INTERVAL YEAR

 

No

INTERVAL YEAR TO MONTH

 

No

INTERVAL MONTH

 

No

See also:

Introduction

Details on Cloudera Impala Connection