|
| 1 | +--- |
| 2 | +layout: episode |
| 3 | +title: "73: Wrapping Trino packages with a bow" |
| 4 | +date: 2025-04-09 |
| 5 | +tags: trino rpm docker image container tarball plugin |
| 6 | +youtube_id: "7EyTcC3k-CY" |
| 7 | +wistia_id: |
| 8 | +sections: |
| 9 | +- time: 0:00 |
| 10 | + title: Introduction with Cole and Manfred |
| 11 | +- time: 1:49 |
| 12 | + title: Release 473 and 474 |
| 13 | +- time: 7:17 |
| 14 | + title: Other news |
| 15 | +- time: 8:03 |
| 16 | + title: New Trino book |
| 17 | +- time: 11:08 |
| 18 | + title: Trino Query UI introduction |
| 19 | +- time: 16:55 |
| 20 | + title: Trino packaging history and overview |
| 21 | +- time: 22:15 |
| 22 | + title: Improvements project |
| 23 | +- time: 23:05 |
| 24 | + title: Plugin documentation and overview |
| 25 | +- time: 27:40 |
| 26 | + title: trino-packages repository and RPM module |
| 27 | +- time: 32:00 |
| 28 | + title: custom tarball module |
| 29 | +- time: 42:13 |
| 30 | + title: custom docker container |
| 31 | +- time: 54:27 |
| 32 | + title: Upcoming events |
| 33 | +introduction: | |
| 34 | + Manfred Moser talks about his recent work to improve Trino packaging and demos |
| 35 | + how to create your own RPM, tarball, and container image. |
| 36 | +--- |
| 37 | + |
| 38 | +## Hosts |
| 39 | + |
| 40 | +* [Manfred Moser](https://www.linkedin.com/in/manfredmoser), Dev Rel Engineer |
| 41 | + at [Chainguard](https://chainguard.dev) |
| 42 | + [@simpligility](https://x.com/simpligility) |
| 43 | +* [Cole Bowden](https://www.linkedin.com/in/cole-m-bowden), Developer Advocate |
| 44 | + at [Firebolt](https://www.firebolt.io/) |
| 45 | + |
| 46 | +## Releases |
| 47 | + |
| 48 | +Following are some highlights of the recent releases: |
| 49 | + |
| 50 | +[Trino 473]({{site.baseurl}}/docs/current/release/release-473.html) |
| 51 | + |
| 52 | +* Add support for array literals. |
| 53 | +* Add LDAP-based group provider. |
| 54 | +* Remove the deprecated glue-v1 metastore type. |
| 55 | +* Remove the deprecated Databricks Unity catalog integration. |
| 56 | +* Remove the Kudu connector. |
| 57 | +* Remove the Phoenix connector. |
| 58 | + |
| 59 | +But don't use 473 since there were [some breaking changes](https://github.com/trinodb/trino/issues/25381), fixed in... |
| 60 | + |
| 61 | +[Trino 474]({{site.baseurl}}/docs/current/release/release-474.html) |
| 62 | + |
| 63 | +* Fix a correctness bug in `GROUP BY` or `DISTINCT` queries with a large number |
| 64 | + of unique groups. |
| 65 | +* Add `originalUser` and `authenticatedUser` as resource group selectors. |
| 66 | +* Use JDK 24 as the runtime in the Docker container. |
| 67 | + |
| 68 | +As always, numerous performance improvements, bug fixes, and other features were |
| 69 | +added as well. Java 24 is coming as requirement soon - test the container! |
| 70 | + |
| 71 | +Releases continue to be slower. Trino needs your help. |
| 72 | + |
| 73 | +Other releases and announcements: |
| 74 | + |
| 75 | +* Trino Gateway 16 delayed, but Trino Gateway Helm chart 1.15.1 |
| 76 | +* Trino Helm chart with 474 -> 1.38.0 |
| 77 | +* New book: [Core Principles and Design Practices of OLAP Engines from Yiteng Xu |
| 78 | + and Gary Gao]({{site.baseurl}}{% post_url 2025-03-27-olap-principles-book %}) |
| 79 | +* Massive new contribution looking for helpers - [trino-query-ui](https://github.com/trinodb/trino-query-ui) |
| 80 | + |
| 81 | +Let's explore the query ui repo a bit more... |
| 82 | + |
| 83 | +## Application packaging and Trino |
| 84 | + |
| 85 | +Manfred and Cole muse about the package artifacts from Trino, their history, |
| 86 | +scope and pain points: |
| 87 | + |
| 88 | +* RPM |
| 89 | +* tarball |
| 90 | +* Docker container |
| 91 | + |
| 92 | +All of them have and had issues, and everyone knew about them. Manfred |
| 93 | +documented a lot the usage in [Trino: The Definitive |
| 94 | +Guide]({{site.baseurl}}/trino-the-definitive-guide). Finally some time in 2024 |
| 95 | +Manfred put some ideas down and in the last months implemented a lot of it. |
| 96 | + |
| 97 | +We discuss a few aspects such as the following: |
| 98 | + |
| 99 | +* Plugin architecture of Trino |
| 100 | +* What plugins are core or optional? |
| 101 | +* Are artifacts ready to use or not? |
| 102 | +* How painful is configuration? |
| 103 | + |
| 104 | +## Demo time |
| 105 | + |
| 106 | +In our demo session we look at some of the changes and the new trino-packages |
| 107 | +repository: |
| 108 | + |
| 109 | +* RPM removal from Trino, and replacement module |
| 110 | +* trino-server-core tarball in Trino and plugin selection |
| 111 | +* trino-server-custom module |
| 112 | +* trinodb/trino-core:latest Docker container in Trino |
| 113 | +* custom-docker module |
| 114 | + |
| 115 | +Manfred runs a build, shows the results, and walks through the packages |
| 116 | +repository structure and instruction. To finish of we talk about next steps such |
| 117 | +as removing plugins from the default binaries and therefore making them |
| 118 | +optional. |
| 119 | + |
| 120 | +## Resources |
| 121 | + |
| 122 | +* [trino-packages repository](https://github.com/trinodb/trino-packages) |
| 123 | +* [Packaging improvement issue](https://github.com/trinodb/trino/issues/22597) |
| 124 | +* [Trino plugin documentation]({{site.baseurl}}/docs/current/installation/plugins.html) |
| 125 | + |
| 126 | +## Rounding out |
| 127 | + |
| 128 | +Quick update on where to see Cole or Manfred next, and then join us for the |
| 129 | +upcoming Trino events: |
| 130 | + |
| 131 | +* Trino Contributor Call - 23rd of April |
| 132 | +* Trino Community Broadcast 74: One tool to proxy them all (aws-proxy) |
| 133 | +* Trino Community Broadcast 75: Insights from a Norse god (Loki connector) |
| 134 | +* Trino Community Broadcast 76: Visualizing with Logi Symphony and ODBC |
| 135 | + |
| 136 | +Let us know if you want to be a guest in a future broadcast. |
0 commit comments