1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-12 11:14:57 +02:00
dockerfiles/trino/README.md

20 lines
471 B
Markdown
Raw Normal View History

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