---
title: "Architecture and data types for Aerospike and Trino"
description: "Map Aerospike architecture and data types to Trino, including supported type conversions for the AS connector."
---

# Architecture and data types for Aerospike and Trino

> For the complete documentation index see: [llms.txt](https://aerospike.com/docs/llms.txt)
> 
> All documentation pages available in markdown.

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

| Aerospike | Trino |
| --- | --- |
| cluster | catalog |
| namespace | schema |
| set | table |
| record | row |
| bin | column |

### Data types in Aerospike versus data types in Trino

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

| Aerospike Data Type | Trino Data Type |
| --- | --- |
| byte\[\] | VARBINARY |
| String | VARCHAR |
| Integer | INTEGER |
| Long | BIGINT |
| Double | DOUBLE |
| Float | DOUBLE |
| Boolean (see note) | BOOLEAN |
| Byte | TINYINT |
| Value.ListValue | JSON |
| Value.MapValue | JSON |
| Value.GeoJSONValue | JSON |
| Value.HLLValue | HYPER\_LOG\_LOG |

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