Jump to content

Trino

From Open Lakehouse Wiki
Trino
Developer Trino Software Foundation and contributors
Initial release 2019 (as PrestoSQL); renamed Trino in December 2020
Latest release 484
(2026-10-15)
Written in Java
Type Distributed SQL query engine
License Apache License 2.0
Website trino.io
Repository github.com/trinodb/trino
Related Apache Iceberg, Delta Lake, Apache Hudi, Iceberg REST catalog
Last verified 22 November 2026 against the Trino release notes (release 484) and the Trino 484 documentation.

Trino is an open source distributed SQL query engine for analytical queries over large datasets. It does not store data itself; it queries data where it lives, through connectors for data lakes, open table formats, relational databases and other systems.[1][2] Trino was known as PrestoSQL until December 2020, and it is supported by the Trino Software Foundation.[3]

History

Dain Sundstrom, David Phillips and Martin Traverso joined the Facebook data infrastructure team in 2012 and created Presto there, to run low-latency interactive queries against the company's large Hadoop data warehouse.[3]

According to the creators, it became clear in 2018 that Facebook management wanted tighter control over the project. In January 2019 they started the Presto Software Foundation as an independent entity to oversee the software and its community, and the project continued under the name PrestoSQL. In September 2019, Facebook established a separate Presto Foundation at the Linux Foundation.[3]

On 27 December 2020, the creators announced that PrestoSQL was being renamed Trino. The announcement gives the reason as Facebook's application for a trademark on the name "Presto" and its enforcement, after attempts to agree on terms with Facebook and the Linux Foundation failed.[3]

Trino releases are numbered with a single integer. Release 484, the latest at the time of writing, is dated 15 October 2026 in the release notes.[4] Trino is licensed under the Apache License 2.0.[3]

Architecture

A Trino cluster has one coordinator and zero or more workers. Users connect to the coordinator with their SQL client. The coordinator parses SQL statements, plans queries and manages the workers. Workers execute tasks and process data, fetching it from connectors and exchanging intermediate results with each other.[2]

A query runs as a hierarchy of stages that the coordinator builds as a distributed plan. Each stage runs as a set of tasks on workers, and tasks process splits, which are sections of a larger dataset.[2]

A connector adapts Trino to a data source, much like a database driver, by implementing Trino's service provider interface. A catalog is a set of configuration properties that uses a connector to reach one specific data source; the catalog name comes from the name of its properties file.[2]

What Trino is not

The Trino documentation states that Trino is not a general-purpose relational database and is not a replacement for databases such as MySQL, PostgreSQL or Oracle. It was not designed for online transaction processing (OLTP). It targets analytical workloads such as aggregating large datasets and producing reports.[1]

Lakehouse connectors

Trino's connector list includes connectors for Apache Iceberg, Delta Lake, Apache Hudi and Hive, as well as connectors for relational databases, Kafka and other systems.[5]

The Iceberg connector reads and writes data files in Avro, ORC and Apache Parquet format, with Parquet as the default. It supports INSERT, UPDATE, DELETE, TRUNCATE and MERGE statements; row-level deletes need tables that use version 2 of the Iceberg specification.[6]

The Iceberg connector supports table maintenance through ALTER TABLE EXECUTE, with procedures including optimize, expire_snapshots and remove_orphan_files. It exposes metadata tables such as $snapshots, $history and $files, and it supports time travel by snapshot ID, timestamp, branch or tag:[6]

SELECT *
FROM example.testdb.customer_orders
FOR VERSION AS OF 8954597067493422955;

Catalog support

The Iceberg connector needs a metastore or catalog. The property iceberg.catalog.type accepts the values hive_metastore, glue, jdbc, rest, nessie and snowflake.[7]

With the rest type, Trino connects to an Iceberg REST catalog at the URI set in iceberg.rest-catalog.uri. The property iceberg.rest-catalog.vended-credentials-enabled controls whether Trino uses storage credentials supplied by the REST catalog; it defaults to false.[7] Through this connector type Trino can use REST catalogs such as Apache Polaris, whose site lists Trino among compatible engines, and the open source Unity Catalog, whose documentation gives a Trino configuration for its Iceberg REST endpoint.[8][9]

Use in an open lakehouse

In an open lakehouse, Trino is a distributed engine for interactive SQL over shared tables. A single Trino cluster can define many catalogs with different or identical connectors, and one SQL query can read from more than one of them, so tables from different systems can be queried together.[2]

See also

References

  1. ↑ 1.0 1.1 Use cases. Trino Software Foundation.Retrieved 2026-11-22.
  2. ↑ 2.0 2.1 2.2 2.3 2.4 Trino concepts. Trino Software Foundation.Retrieved 2026-11-22.
  3. ↑ 3.0 3.1 3.2 3.3 3.4 Martin Traverso, Dain Sundstrom and David Phillips.We're rebranding PrestoSQL as Trino. Trino Software Foundation, 2020-12-27.Retrieved 2026-11-22.
  4. ↑ Release notes. Trino Software Foundation.Retrieved 2026-11-22.
  5. ↑ Connectors. Trino Software Foundation.Retrieved 2026-11-22.
  6. ↑ 6.0 6.1 Iceberg connector. Trino Software Foundation.Retrieved 2026-11-22.
  7. ↑ 7.0 7.1 Metastores. Trino Software Foundation.Retrieved 2026-11-22.
  8. ↑ Apache Polaris. Apache Software Foundation.Retrieved 2026-11-22.
  9. ↑ Unity Catalog Trino integration. Unity Catalog project.Retrieved 2026-11-22.