Launch a Trino server and shell, and query your Aerospike cluster with SQL.
aerolab cluster list
Use 172.17.0.3:3000
as the Aerospike server seed IP:PORT
aerolab client create trino -n trino -s 172.17.0.3:3000
Use 172.17.0.4:3000
as seed IP:PORT
aerolab client configure trino -n trino -s 172.17.0.4:3000
In this example we'll connect the shell to the Aerospike cluster's test namespace.
aerolab attach trino -n trino -m test
This example demonstrates passing the Trino shell command to the Trino client machine.
aerolab attach client -n trino -- su - trino -c "bash ./trino --server 127.0.0.1:8080 --catalog aerospike --schema test"