SQL Support for the Presto Connector
Trino, formerly known as PrestoSQL, supports the ANSI SQL language. The Presto connector uses Trino’s SPI interface to translate SQL language to Aerospike operations using the Aerospike Java client.
Trino is an SQL engine, but Aerospike is a NoSQL database and is schemaless. Hence, the data models are different as shown in the following table. The Presto connector reconciles those differences to provide seamless SQL experience. Please see the Aerospike data model if you are not familiar with it.
The Presto connector does not support all Presto data types. You must typecast unsupported types to supported types.
|Aerospike Data Type||Presto Data Type|
The Presto connector supports the following SQL statements: