{"id":17194907,"url":"https://github.com/ajermakovics/presto-hazelcast","last_synced_at":"2025-08-05T12:05:57.122Z","repository":{"id":21495024,"uuid":"24813935","full_name":"ajermakovics/presto-hazelcast","owner":"ajermakovics","description":"PrestoDB connector for Hazelcast. Run SQL on an in-memory data grid.","archived":false,"fork":false,"pushed_at":"2015-06-12T15:49:17.000Z","size":569,"stargazers_count":13,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-25T07:35:04.479Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"HTML","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/ajermakovics.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}},"created_at":"2014-10-05T11:05:38.000Z","updated_at":"2021-06-25T13:34:50.000Z","dependencies_parsed_at":"2022-08-21T13:11:13.871Z","dependency_job_id":null,"html_url":"https://github.com/ajermakovics/presto-hazelcast","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/ajermakovics%2Fpresto-hazelcast","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ajermakovics%2Fpresto-hazelcast/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ajermakovics%2Fpresto-hazelcast/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ajermakovics%2Fpresto-hazelcast/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ajermakovics","download_url":"https://codeload.github.com/ajermakovics/presto-hazelcast/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248381761,"owners_count":21094525,"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":[],"created_at":"2024-10-15T01:48:36.464Z","updated_at":"2025-04-11T11:08:17.390Z","avatar_url":"https://github.com/ajermakovics.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"presto-hazelcast\n================\n\n\n[PrestoDb](http://prestodb.io/) connector for [Hazelcast](http://hazelcast.org/).\n\nPresto is an open source distributed SQL query engine for running interactive analytic queries against data sources of all sizes ranging from gigabytes to petabytes. \n\nThis is an **experiment** in using PrestoDb to run SQL queries on top of Hazelcast. It starts a PrestoDb server and an embedded Hazelcast instance. The connector is used to query maps as if they were tables. Objects in maps are treated as rows.\n\nUsage\n================\n\n1. Start the server using gradle (2+). This will start the server on port 8383:\n\n - `gradle runServer`\n \n2. Download presto [client](http://prestodb.io/docs/current/installation/cli.html) and run it using:\n\n - `./presto --server localhost:8383 --catalog hazelcast --schema maps` \n\n3. Run some SQL queries\n\n - `SHOW TABLES;` \n - `SELECT active, SUM(sales) FROM employees GROUP BY active;`\n - Joins:\n - `SELECT departments.name, SUM(sales) FROM departments INNER JOIN employees ON id = department GROUP BY departments.name;`\n\nThe server comes with some example data in table *emplyees*.\nYou can connect to the embedded Hazelcast instance (port 5701) using a client and put some more data in.\n\nConfig\n================\n\nConfig is in src/main/resources\n\n\nRun from IDE\n============\n\nMain class: main.HazelcastPresto  \nWroking dir: src/main/resources  \nJVM Args: -ea -Xmx1G -Dconfig=config.properties -Dlog.levels-file=log.properties  \n\nThe code for the connector itself is in the *plugin* package.\n\nTODOs\n=====\n\nLots of things to improve:\n - use map key as an id\n - make distributed and partiton aware\n - result paging\n - make configurable\n - ...\n \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fajermakovics%2Fpresto-hazelcast","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fajermakovics%2Fpresto-hazelcast","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fajermakovics%2Fpresto-hazelcast/lists"}