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

Trino Community Broadcast

64: Control with Open Policy Agent OPA

Aug 22, 2024

Introduction

Sönke Liebau and Sebastian Bernauer from Stackable join us to chat about the Open Policy Agent plugin for Trino and their usage of it. We also talk about their trino-lb project, their Kubernetes operator for Trino, and lessons learned from using Trino on Kubernetes.

Video

Audio

 

Hosts

Guests

Releases and news

Trino 454

  • Improve performance for queries that contain multiple aggregate functions, including DISTINCT.
  • Add Kafka event listener plugin (yet to be documented).
  • Add configuration for fetch size with JDBC-based connectors (yet to be documented).
  • Add support for writing Deletion Vectors with the Delta Lake connector.
  • Add new Resources tab in the web interface with data from the new light-weight query endpoint /v1/query?pruned=true.
  • Add new Preview Web UI (help us test and develop!).
  • Add S3 security mapping for the native S3 filesystem.

As usual, numerous performance improvements, bug fixes, and other features have been added as well.

Stackable, OPA, and more

We chat with Sönke and Sebastian about the following agenda topics:

  • What is Stackable?
  • Open Policy Agent (OPA) authorization plugin
    • History
    • Recent development
    • Compatibility layer to Trino’s file-based access control
    • Quick demo on row filtering and column masking
  • Auto-scaling Trino clusters using trino-lb

Other aspects we discuss include the following:

  • Performance considerations
  • Aspects of Trino on Kubernetes such as graceful shutdown, PodDisruptionBudgets, and anti-affinity
  • Plans for next steps

Other resources

Rounding out

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.