Skip to main content
Loading

How Aerospike's Architecture and Data Types Correspond to Trino's

Aerospike and Trino have different data architectures. They also support different data types. The following tables show how the Aerospike architecture corresponds to Trino's, and how the data types they support correspond to each other.

Aerospike's architecture versus Trino's architecture

AerospikeTrino
clustercatalog
namespaceschema
settable
recordrow
bincolumn

Data types in Aerospike versus data types in Trino

info

The Trino connector does not support all Trino data types. You must typecast unsupported types to supported types.

Aerospike Data TypeTrino Data Type
byte[]VARBINARY
StringVARCHAR
IntegerINTEGER
LongBIGINT
DoubleDOUBLE
FloatDOUBLE
Boolean (see note)BOOLEAN
ByteTINYINT
Value.ListValueJSON
Value.MapValueJSON
Value.GeoJSONValueJSON
Value.HLLValueHYPER_LOG_LOG

Note: The Boolean data type is supported in versions 1.1.0 and later of Aerospike Connect for Trino, and requires version 5.6 or later of Aerospike Database Enterprise Edition.