{"id":17968397,"url":"https://github.com/bitsondatadev/trino-getting-started","last_synced_at":"2025-05-16T05:05:30.302Z","repository":{"id":38030544,"uuid":"341978481","full_name":"bitsondatadev/trino-getting-started","owner":"bitsondatadev","description":null,"archived":false,"fork":false,"pushed_at":"2024-10-23T05:33:27.000Z","size":42181,"stargazers_count":261,"open_issues_count":3,"forks_count":101,"subscribers_count":15,"default_branch":"main","last_synced_at":"2025-04-08T15:07:28.800Z","etag":null,"topics":["docker","docker-compose","getting-started","presto","prestosql","trino","tutorial"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bitsondatadev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-02-24T17:23:52.000Z","updated_at":"2025-03-29T17:43:19.000Z","dependencies_parsed_at":"2024-09-06T20:41:05.082Z","dependency_job_id":null,"html_url":"https://github.com/bitsondatadev/trino-getting-started","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitsondatadev%2Ftrino-getting-started","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitsondatadev%2Ftrino-getting-started/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitsondatadev%2Ftrino-getting-started/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitsondatadev%2Ftrino-getting-started/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bitsondatadev","download_url":"https://codeload.github.com/bitsondatadev/trino-getting-started/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254471061,"owners_count":22076585,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","docker-compose","getting-started","presto","prestosql","trino","tutorial"],"created_at":"2024-10-29T14:21:14.933Z","updated_at":"2025-05-16T05:05:25.286Z","avatar_url":"https://github.com/bitsondatadev.png","language":"Python","readme":"# Trino Getting Started\n\nWelcome to the [Trino](https://trino.io/) getting started tutorial repository. \nThis is a home for a set of preconfigured [Docker Compose](https://docs.docker.com/compose/) \nenvironments that are used to set up simple environments and showcase basic \nconfigurations in isolation to get new and existing users started on all the \ndifferent containers we have, and more importantly learn and have fun with \nTrino.\n\n## Trino History\n\nTrino is a distributed SQL query engine designed to query large data sets\ndistributed over one or more heterogeneous data sources. Check out some of\nthe [use cases](https://trino.io/docs/current/overview/use-cases.html) to\nunderstand what Trino is and is not.  We also have a rascally little bunny\nmascot named \n[Commander Bun Bun](https://twitter.com/trinodb/status/1357416368543588356) 🐇.\n\nTrino was [originally called Presto, and was a seperate fork that renamed\nitself to PrestoSQL](https://en.wikipedia.org/wiki/Trino_(SQL_query_engine)#History). \nIt shares the first 7 years of development with [PrestoDB\n](https://en.wikipedia.org/wiki/Presto_(SQL_query_engine)). Trino resulted from\na [disagreement in the governance](https://trino.io/blog/2022/08/02/leaving-facebook-meta-best-for-trino)\nleading the four original creators of Presto and the majority of its contributors\nto using Trino.\n \n## Prerequisites\n\nFor beginners, I recommend using [Docker](https://www.docker.com/why-docker) to run your service [containers](https://www.docker.com/why-docker). I do not use the `version` tag for compose files and therefore don't provide support for [legacy compose versions](https://docs.docker.com/reference/compose-file/legacy-versions/). Make sure you have the correct Docker Compose version by having one of the following installed.\n\n\n * [Docker Desktop](https://docs.docker.com/desktop/) \u003e= [4.1.0](https://docs.docker.com/desktop/release-notes/#410)(latest recommended)\n \n or\n\n * Docker Engine and Docker Compose [with compose version \u003e= 1.27.0](https://docs.docker.com/reference/compose-file/legacy-versions/).\n\n\n## Tutorial Layout\n\nTutorials are organized by a concept, most commonly a [connector](https://trino.io/docs/current/connector.html). Concepts such as security, clients, or basics should use their own directory as well. There may also be another directory that contains the actual environment and tutorial directories themselves. When running a tutorial command, ensure you're in the correct directory and that it contains a `docker-compose.yml` file in it. \n\n\u003e [!IMPORTANT]  \n\u003e The layout of this repository [has migrated](https://github.com/bitsondatadev/trino-getting-started/issues/53) most concept tutorials to the `community-tutorials/` directory or adopted into other repositories to minimize the scope of this repository to the most common Trino use cases.\n\n### Community Tutorials\n\nThe `community-tutorials/` directory contains a list of tutorials that have little to no testing and may contain outdated versions, bugs, or missing container images. Feel free to open up an issue if you would like to adopt one of these tutorials on your own repository or website and we will link them in the following list. Otherwise, feel free to provide Pull requests for any functionality in these tutorials, or submit a new one. [See more information here](https://github.com/bitsondatadev/trino-getting-started/issues/53)\n\n| Tutorial | Description |\n| --- | --- |\n| [Trino on Backblaze b2](https://github.com/backblaze-b2-samples/trino-getting-started-b2) | These tutorials by [@metadaddy](https://github.com/metadaddy) demonstrate how to use Trino with Backblaze B2 as an S3 object storage with connectors like Hive and Iceberg. |\n\n## Helpful Docker commands\n\n### Start Service\n\n`docker compose up -d`\n\n### Stop Service\n\n`docker compose stop`\n\n### Clean Service\n\n[cleans images, containers, and network](shttps://docs.docker.com/config/pruning/)\n\n`docker system prune --all --force`\n\n[cleans volumes](shttps://docs.docker.com/config/pruning/)\n\n`docker volume prune --force`\n\n### Show Service Images \n\n`docker images`\n\n### Login to Container\n\n`docker container exec -it \u003ccontainer_id\u003e /bin/bash`\n\n### Show Service Logs\n\n`docker logs \u003ccontainer_id\u003e`\n\n### List Services\n\n`docker container ls`\n\n### List Service Process information\n\n`docker compose ps`\n\nSee trademark and other [legal notices](https://trino.io/legal.html).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitsondatadev%2Ftrino-getting-started","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbitsondatadev%2Ftrino-getting-started","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitsondatadev%2Ftrino-getting-started/lists"}