Home > Apache Spark SQL > Apache Spark SQL Data Types

Apache Spark SQL 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 Apache Spark SQL database.

Apache Spark SQL Database Type

Spotfire Data Type

Supported

TINYINT

Integer/Int

Yes

SMALLINT

Integer/Int

Yes

INT

Integer/Int

Yes

BIGINT

LongInteger/Long

Yes

FLOAT

SingleReal/Float

Yes

DOUBLE

Real/Double

Yes

BOOLEAN

Boolean/Bool

Yes

STRING

String

Yes

TIMESTAMP

DateTime

Yes

See also:

Details on Apache Spark SQL Connection

Supported Functions