Skip to main content
Loading

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

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

Aerospike's architecture versus Presto's architecture

AerospikePresto
clustercatalog
namespaceschema
settable
recordrow
bincolumn

Data types in Aerospike versus data types in Presto

info

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

Aerospike Data TypePresto 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 Presto, and requires version 5.6 or later of Aerospike Database Enterprise Edition.