{"id":29823026,"url":"https://github.com/kos59125/local-presto","last_synced_at":"2026-05-18T06:40:06.941Z","repository":{"id":147042994,"uuid":"129025925","full_name":"kos59125/local-presto","owner":"kos59125","description":"Run Presto on your local machine","archived":false,"fork":false,"pushed_at":"2018-04-11T04:12:08.000Z","size":6,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-29T01:43:42.654Z","etag":null,"topics":["docker","presto","sql"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/kos59125/local-presto/","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kos59125.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,"zenodo":null}},"created_at":"2018-04-11T02:59:54.000Z","updated_at":"2018-10-31T15:42:33.000Z","dependencies_parsed_at":"2023-06-03T23:15:19.146Z","dependency_job_id":null,"html_url":"https://github.com/kos59125/local-presto","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kos59125/local-presto","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kos59125%2Flocal-presto","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kos59125%2Flocal-presto/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kos59125%2Flocal-presto/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kos59125%2Flocal-presto/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kos59125","download_url":"https://codeload.github.com/kos59125/local-presto/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kos59125%2Flocal-presto/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33167953,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-18T05:43:36.989Z","status":"ssl_error","status_checked_at":"2026-05-18T05:43:19.133Z","response_time":71,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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","presto","sql"],"created_at":"2025-07-29T01:38:43.667Z","updated_at":"2026-05-18T06:40:06.926Z","avatar_url":"https://github.com/kos59125.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![CircleCI](https://circleci.com/gh/kos59125/local-presto.svg?style=svg)](https://circleci.com/gh/kos59125/local-presto)\n\n# local-presto\n\nRun Presto on your local machine\n\n## Setup\n\n### Pull Docker image\n\n```bash\n$ docker pull kos59125/local-presto\n```\n\n### Create your own connection setting\n\nCreate your own properties file. See [Connectors on Presto Documentation](https://prestodb.io/docs/current/connector.html) for your help.\n\nFor example, if you would like to connect MySQL hosted on db.example.com, you create `mysql.properties` as the following:\n\n```properties\nconnector.name=mysql\nconnection-url=jdbc:mysql://db.example.com:3306\nconnection-user=dbuser\nconnection-password=dbpassword\n```\n\n## Run container\n\nYou must mount your properties file onto `/opt/presto/etc/catalog` at startup.\n\nExample:\n\n```bash\n$ docker run -v /path/to/mysql.properties:/opt/presto/etc/catalog/mysql.properties:ro -it kos59125/local-presto\n```\n\nThe entrypoint shell script of Presto is same as the Presto CLI.\nYou can specify options of Presto CLI like `--catalog` and `--output-format`.\n\nExamples:\n\n```bash\n$ docker run -v ... -it kos59125/local-presto --catalog mysql --schema mydb\n```\n\n```bash\n$ docker run -v ... kos59125/local-presto --execute \"SELECT * FROM mysql.mydb.table LIMIT 100\" --output-format CSV_HEADER \u003eout.csv\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkos59125%2Flocal-presto","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkos59125%2Flocal-presto","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkos59125%2Flocal-presto/lists"}