1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-20 13:58:42 +00:00
dockerfiles/trino/README.md

20 lines
471 B
Markdown
Raw Normal View History

2021-11-26 07:50:32 +00: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 07:23:49 +00:00
$ mkdir data/{etc,data}
$ chown -R 1000:1000 data
2021-11-26 07:50:32 +00:00
$ docker-compose up -d
$ docker-compose exec trino trino
>>> show catalogs;
2021-11-29 07:23:49 +00:00
>>> show schemas from system;
>>> show tables from system.runtime;
>>> select * from system.runtime.queries;
2021-11-26 07:50:32 +00:00
>>> quit
```
[1]: https://trino.io/docs/current/installation/deployment.html