/prestodb-sandbox

Sandbox docker image to test out prestodb

Primary LanguageJavaScriptApache License 2.0Apache-2.0

prestodb-sandbox

This sandbox image provides a quick way to run a single-node cluster with the JMX, TPC-DS, TPC-H, and memory catalogs.

presto> SHOW CATALOGS;
 Catalog
---------
 jmx
 memory
 system
 tpcds
 tpch
(5 rows)

Creation of images for new versions of Presto happens autonomously, where a workflow runs once a day, and if a new version is detected, then it will be built and pushed, with the latest tag pointing at this new version.

Quickstart

Running the server

To launch the image:

docker run -p 8080:8080 --name presto ghcr.io/popsql/prestodb-sandbox

Wait for the following message log line:

INFO	main	com.facebook.presto.server.PrestoServer	======== SERVER STARTED ========

Running the CLI

To use the included CLI:

docker exec presto -it presto presto

You can pass additional arguments to the CLI:

docker exec presto -it presto presto --catalog tpch --schema sf1