Helpful Trino queries
... to fetch data from my aws-cf-rtl and Trino/Superset projects.
Docker
I run Trino in a local Docker container. A Trino query can be invoked from the CLI by passing the query into the --execute
param.
docker exec -it trino-us-east-1 trino --output-format ALIGNED --execute "${QUERY}"