{"id":13461607,"url":"https://github.com/trinodb/trino","last_synced_at":"2026-04-02T12:23:35.334Z","repository":{"id":36958975,"uuid":"166515022","full_name":"trinodb/trino","owner":"trinodb","description":"Official repository of Trino, the distributed SQL query engine for big data, formerly known as PrestoSQL (https://trino.io)","archived":false,"fork":false,"pushed_at":"2025-05-05T12:34:16.000Z","size":271230,"stargazers_count":11243,"open_issues_count":2356,"forks_count":3191,"subscribers_count":181,"default_branch":"master","last_synced_at":"2025-05-05T15:20:01.927Z","etag":null,"topics":["analytics","big-data","data-science","database","databases","datalake","delta-lake","distributed-database","distributed-systems","hadoop","hive","iceberg","java","jdbc","presto","prestodb","query-engine","sql","trino"],"latest_commit_sha":null,"homepage":"https://trino.io","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/trinodb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":".github/SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2019-01-19T06:38:14.000Z","updated_at":"2025-05-05T14:45:30.000Z","dependencies_parsed_at":"2023-01-17T09:30:39.811Z","dependency_job_id":"ea30158a-2068-460b-b6f5-71122383aa3a","html_url":"https://github.com/trinodb/trino","commit_stats":{"total_commits":40721,"total_committers":952,"mean_commits":42.77415966386555,"dds":0.8741926769971268,"last_synced_commit":"29ffc6c1c7d93bbd22ccdccb98ba39a5fab1fd68"},"previous_names":["prestosql/presto"],"tags_count":407,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trinodb%2Ftrino","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trinodb%2Ftrino/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trinodb%2Ftrino/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trinodb%2Ftrino/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/trinodb","download_url":"https://codeload.github.com/trinodb/trino/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252522178,"owners_count":21761685,"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":["analytics","big-data","data-science","database","databases","datalake","delta-lake","distributed-database","distributed-systems","hadoop","hive","iceberg","java","jdbc","presto","prestodb","query-engine","sql","trino"],"created_at":"2024-07-31T11:00:47.639Z","updated_at":"2025-11-12T21:43:38.497Z","avatar_url":"https://github.com/trinodb.png","language":"Java","funding_links":[],"categories":["Java","Databases","数据中台","By Language","SQL Query Engine","⚙️ Data Engineering","Data Lake Engines","数据库管理系统","大数据","SQL","Search \u0026 Data"],"sub_categories":["Time Series","Java","Vector Database","Tools","网络服务_其他","Misc","Über SQL"],"readme":"\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://trino.io/\"\u003e\u003cimg alt=\"Trino Logo\" src=\".github/homepage.png\" /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n    \u003cb\u003eTrino is a fast distributed SQL query engine for big data analytics.\u003c/b\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n    See the \u003ca href=\"https://trino.io/docs/current/\"\u003eUser Manual\u003c/a\u003e for deployment instructions and end user documentation.\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://trino.io/download.html\" style=\"text-decoration: none\"\u003e\n    \u003cimg src=\"https://img.shields.io/maven-central/v/io.trino/trino-server.svg?label=Trino\" alt=\"Trino download\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/jvm-repo-rebuild/reproducible-central/blob/master/content/io/trino/README.md\" style=\"text-decoration: none\"\u003e\n    \u003cimg src=\"https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/jvm-repo-rebuild/reproducible-central/master/content/io/trino/badge.json\" alt=\"Reproducible builds supported\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://trino.io/slack.html\"  style=\"text-decoration: none\"\u003e\n    \u003cimg src=\"https://img.shields.io/static/v1?logo=slack\u0026logoColor=959DA5\u0026label=Slack\u0026labelColor=333a41\u0026message=join%20conversation\u0026color=3AC358\" alt=\"Trino Slack\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://trino.io/trino-the-definitive-guide.html\"  style=\"text-decoration: none\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/Trino%3A%20The%20Definitive%20Guide-download-brightgreen\" alt=\"Trino: The Definitive Guide book download\" /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n## Development\n\nLearn about development for all Trino organization projects:\n\n* [Vision](https://trino.io/development/vision)\n* [Contribution process](https://trino.io/development/process#contribution-process)\n* [Pull request and commit guidelines](https://trino.io/development/process#pull-request-and-commit-guidelines-)\n* [Release note guidelines](https://trino.io/development/process#release-note-guidelines-)\n\nFurther information in the [development section of the\nwebsite](https://trino.io/development) includes different roles, like\ncontributors, reviewers, and maintainers, related processes, and other aspects.\n\nSee [the Trino developer guide](https://trino.io/docs/current/develop.html) for\ninformation about the SPI, implementing connectors and other plugins plugins,\nthe client protocol, writing tests and other lower level details.\n\nSee [DEVELOPMENT](.github/DEVELOPMENT.md) for information about code style,\ndevelopment process, and guidelines.\n\nSee [CONTRIBUTING](.github/CONTRIBUTING.md) for contribution requirements.\n\n## Security\n\nSee the project [security policy](.github/SECURITY.md) for\ninformation about reporting vulnerabilities.\n\nTrino supports [reproducible builds](https://reproducible-builds.org) as of version 449.\n\n## Build requirements\n\n* Mac OS X or Linux\n  * Note that some npm packages used to build the web UI are only available\n    for x86 architectures, so if you're building on Apple Silicon, you need \n    to have Rosetta 2 installed\n* Java 23.0.0+, 64-bit\n* Docker\n  * Turn SELinux or other systems disabling write access to the local checkout\n    off, to allow containers to mount parts of the Trino source tree\n\n## Building Trino\n\nTrino is a standard Maven project. Simply run the following command from the\nproject root directory:\n\n    ./mvnw clean install -DskipTests\n\nOn the first build, Maven downloads all the dependencies from the internet\nand caches them in the local repository (`~/.m2/repository`), which can take a\nwhile, depending on your connection speed. Subsequent builds are faster.\n\nTrino has a comprehensive set of tests that take a considerable amount of time\nto run, and are thus disabled by the above command. These tests are run by the\nCI system when you submit a pull request. We recommend only running tests\nlocally for the areas of code that you change.\n\n## Running Trino in your IDE\n\n### Overview\n\nAfter building Trino for the first time, you can load the project into your IDE\nand run the server.  We recommend using\n[IntelliJ IDEA](http://www.jetbrains.com/idea/). Because Trino is a standard\nMaven project, you easily can import it into your IDE.  In IntelliJ, choose\n*Open Project* from the *Quick Start* box or choose *Open*\nfrom the *File* menu and select the root `pom.xml` file.\n\nAfter opening the project in IntelliJ, double check that the Java SDK is\nproperly configured for the project:\n\n* Open the File menu and select Project Structure\n* In the SDKs section, ensure that JDK 23 is selected (create one if none exist)\n* In the Project section, ensure the Project language level is set to 23\n\n### Running a testing server\n\nThe simplest way to run Trino for development is to run the `TpchQueryRunner`\nclass. It will start a development version of the server that is configured with\nthe TPCH connector. You can then use the CLI to execute queries against this\nserver. Many other connectors have their own `*QueryRunner` class that you can\nuse when working on a specific connector.\n\n### Running the full server\n\nTrino comes with sample configuration that should work out-of-the-box for\ndevelopment. Use the following options to create a run configuration:\n\n* Main Class: `io.trino.server.DevelopmentServer`\n* VM Options: `-ea -Dconfig=etc/config.properties -Dlog.levels-file=etc/log.properties -Djdk.attach.allowAttachSelf=true`\n* Working directory: `$MODULE_DIR$`\n* Use classpath of module: `trino-server-dev`\n\nThe working directory should be the `trino-server-dev` subdirectory. In\nIntelliJ, using `$MODULE_DIR$` accomplishes this automatically.\n\nIf `VM options` doesn't exist in the dialog, you need to select `Modify options`\nand enable `Add VM options`.\n\nTo adjust which plugins are enabled for the development server, adjust the value of\n`plugin.bundles` in `config.properties`. Each entry in this list must represent a plugin\nspecified by one of the following options:\n* A path to a `pom.xml` or `*.pom` file describing a Maven project that produces a plugin.\n* Maven coordinates, in the form `\u003cgroupId\u003e:\u003cartifactId\u003e[:\u003cextension\u003e[:\u003cclassifier\u003e]]:\u003cversion\u003e`. The plugin will be loaded via Maven and therefore must be available in your local repository or a remote repository.\n* A path to a plugin directory containing JAR files. See [Deploying a custom plugin](https://trino.io/docs/current/develop/spi-overview.html#deploying-a-custom-plugin) for more details.\n\nIf you want to use a plugin in a catalog, you must add a corresponding\n`\u003ccatalog_name\u003e.properties` file to `testing/trino-server-dev/etc/catalog`.\n\n### Running the CLI\n\nStart the CLI to connect to the server and run SQL queries:\n\n    client/trino-cli/target/trino-cli-*-executable.jar\n\nRun a query to see the nodes in the cluster:\n\n    SELECT * FROM system.runtime.nodes;\n\nRun a query against the TPCH connector:\n\n    SELECT * FROM tpch.tiny.region;\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrinodb%2Ftrino","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftrinodb%2Ftrino","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrinodb%2Ftrino/lists"}