1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-04 10:34:49 +02:00
dockerfiles/presto
2019-06-16 18:55:12 +08:00
..
conf fix presto config 2019-06-16 18:55:12 +08:00
docker-compose.yml rename presto 2019-06-16 16:24:14 +08:00
Dockerfile update presto 2019-06-16 16:59:02 +08:00
Dockerfile.alpine update presto 2019-06-16 16:59:02 +08:00
README.md fix presto config 2019-06-16 18:45:52 +08:00

presto

Presto is a distributed SQL query engine designed to query large data sets distributed over one or more heterogeneous data sources.

docker-compose.yaml

presto:
  image: vimagick/presto
  ports:
    - "8080:8080"
  volumes:
    - ./conf/standalone:/opt/presto/etc
    - ./data/standalone:/data
  restart: unless-stopped

up and running

$ docker-comopse up -d

$ docker-compose exec presto presto --server localhost:8080 --catalog tpch
>>> show schemas;
>>> show tables from tiny;
>>> select * from tiny.customer limit 10;
>>> quit

$ curl http://localhost:8080/v1/service/presto/general