Do you ❤️ Trino? Give us a 🌟 on GitHub

Trino Community Broadcast

69: Client protocol improvements

Jan 30, 2025

Introduction

Manfred Moser and Cole Bowden are joined by Mateusz Gajewski to discuss the development of the new spooling mode for the Trino client protocol. We look at cluster configuration, client drivers, and run some demos.

Video

Audio

 

Host

Guests

Releases

Follow are some highlights of the first release of 2025. It took us a bit longer to work through release blockers this time:

Trino 469

  • Add support for the FIRST, AFTER, and LAST clauses to ALTER TABLE ... ADD COLUMN for Iceberg, MySQL, and MariaDB.
  • SSE-C in S3 security mapping for Delta Lake, Hive, Hudi, and Iceberg
  • Allow configuration for Google Cloud Storage endpoint with object storage connectors.
  • Allow connection validation and add more stats for JDBC driver.
  • Remove support for connector-level event listeners.
  • Misc improvements for the Faker connector.

As always, numerous performance improvements, bug fixes, and other features were added as well.

Other news

Introducing wendigo

What can we say? Top contributor and maintainer, and all around hacker on Trino, numerous Trino subprojects, Airlift, and beyond.

Main topic

Let’s talk about the Trino client protocol. Following are some topics we cover:

  • What is the client protocol for?
  • History of the client protocol
  • Available client drivers and client applications
  • Architecture and flow
  • Motivation to improve the protocol
  • Direct and spooling modes

Mateusz walks through the presentation and Cole and Manfred ask a lot of questions:

Demo time

Mateusz show us his example and testing setup with Starburst Galaxy clusters configured for spooling protocol use and shares some of the performance gains he observes.

Resources

Rounding out

Join us for upcoming events and let us know if you want to be the next guest.

If you want to learn more about Trino, check out the definitive guide from O’Reilly. You can get the free PDF from Starburst or buy the English, Polish, Chinese, or Japanese edition.