{"id":18657302,"url":"https://github.com/jmrozanec/presto-template-connector","last_synced_at":"2025-04-11T18:31:30.467Z","repository":{"id":150474527,"uuid":"58698129","full_name":"jmrozanec/presto-template-connector","owner":"jmrozanec","description":"Presto template connector: to speed up new connectors development.","archived":false,"fork":false,"pushed_at":"2016-05-13T04:38:57.000Z","size":12,"stargazers_count":9,"open_issues_count":0,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-25T17:07:04.764Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","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/jmrozanec.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":"2016-05-13T04:01:59.000Z","updated_at":"2021-12-18T09:38:27.000Z","dependencies_parsed_at":"2023-04-05T09:31:25.642Z","dependency_job_id":null,"html_url":"https://github.com/jmrozanec/presto-template-connector","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/jmrozanec%2Fpresto-template-connector","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmrozanec%2Fpresto-template-connector/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmrozanec%2Fpresto-template-connector/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmrozanec%2Fpresto-template-connector/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jmrozanec","download_url":"https://codeload.github.com/jmrozanec/presto-template-connector/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248458480,"owners_count":21107087,"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-11-07T07:27:34.145Z","updated_at":"2025-04-11T18:31:30.459Z","avatar_url":"https://github.com/jmrozanec.png","language":"Java","readme":"# Presto-Template Connector\n\nThis is a [PrestoDB](https://prestodb.io/) connector to query data from [TemplateDB](http://www.templatedb.com/) \n\n[![Gitter Chat](http://img.shields.io/badge/chat-online-brightgreen.svg)](https://gitter.im/jmrozanec/presto-connectors)\n[![Project stats by OpenHub](https://www.openhub.net/p/presto-teradata-connector/widgets/project_thin_badge.gif)](https://www.openhub.net/p/presto-template-connector/)\n[![Presto-Connectors Member](https://img.shields.io/badge/presto--connectors-member-green.svg)](http://presto-connectors.ml)\n\n## Development\n\n### How to use this template\nYou are free to leave everything as is in this template, including the README. Even though, we recommend to\n\n* in the README:\n    * replace the word \"template\", \"TemplateDB\" for the corresponding database name\n    * check badge links: in README template point inexistent links; except for graphics, which direct to existing projects to avoid a broken images.\n    * delete \"How to use this template\" section within the README\n* in project files\n    * rename package \"template\" to database name, as well as classes within it\n    * delete \"mock\" package after adding jdbc dependency drivers\n    * update the META-INF.services/com.facebook.presto.spi.Plugin file with correct plugin class name\n\nIf you have any questions, please contact us at [our Gitter chatroom](https://gitter.im/jmrozanec/presto-connectors)\n\n### Set up\nWe do not provide TemplateDB JDBC jars, since they require to agree on some terms due to US legislation.\nAfter cloning this repo, you should \n\n* download TemplateDB JDBC drivers from [here](https://downloads.templatedb.com/download/connectivity/jdbc-driver)\n* rename the jars\n* place them in the following directories\n\n        $PROJECT_HOME/lib/com/templatedb/config/0.1.0/config-0.1.0.jar\n        $PROJECT_HOME/lib/com/templatedb/jdbc/0.1.0/jdbc-0.1.0.jar\n\n\n### Building the project\nTo build Presto Template Connector, execute:\n\n    mvn clean install\n \n\n## Installation\n### Connection configuration\n\nCreate new properties file inside etc/catalog dir:\n\n    connector.name=templatedb\n    # connection-url is the TemplateDB JDBC URL. You may use different configurations per environment.\n    connection-url=jdbc:templatedb://aaa.bbb.ccc.ddd/TMODE=ANSI,CHARSET=UTF8\n\tconnection-user=someusername\n\tconnection-password=somepassword\n\nTo install the connector, copy presto-template-{version}.jar and jars at $PROJECT_HOME/presto-dependencies/ directory to some location, ex.: /tmp/templatedb-jars/\n\n    cd $PRESTODB_HOME\n    mkdir -p plugin/templatedb\n    cp /tmp/templatedb-jars/* plugin/templatedb\n   \n   \n   \n## Known issues and limitations\n* [Presto may not support all keywords from some SQL dialects](https://groups.google.com/forum/#!topic/presto-users/tXBuNa19hg8)\n* [Presto elaborates its own execution plan before submitting to any DB](https://groups.google.com/forum/#!topic/presto-users/tXBuNa19hg8), which may result in non optimal performance.\n \n\n## Related resources\nBelow we list resources related to Presto connectors. If you wrote a Presto connector to any database, we want to hear from you!\n\n* [Prestogres: connecting postgres to Presto](http://www.slideshare.net/frsyuki/presto-meetup)\n\n## Contribute \u0026 Support!\n\nContributions are welcome! You can contribute by\n * starring this repo!\n * requesting or adding new features.\n * enhancing existing code or documentation.\n * testing.\n * bringing suggestions and reporting bugs.\n * spreading the word / telling us how you use it!\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjmrozanec%2Fpresto-template-connector","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjmrozanec%2Fpresto-template-connector","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjmrozanec%2Fpresto-template-connector/lists"}