1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-23 01:39:27 +02:00
dockerfiles/trino/README.md
2021-11-29 15:23:49 +08:00

20 lines
471 B
Markdown

trino
=====
[Trino][1] is a distributed SQL query engine designed to query large data sets
distributed over one or more heterogeneous data sources.
```bash
$ mkdir data/{etc,data}
$ chown -R 1000:1000 data
$ docker-compose up -d
$ docker-compose exec trino trino
>>> show catalogs;
>>> show schemas from system;
>>> show tables from system.runtime;
>>> select * from system.runtime.queries;
>>> quit
```
[1]: https://trino.io/docs/current/installation/deployment.html