1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-16 03:48:44 +00: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