linkedin / transport

A framework for writing performant user-defined functions (UDFs) that are portable across a variety of engines including Apache Spark, Apache Hive, and Presto.
BSD 2-Clause "Simplified" License
291 stars 72 forks source link

Upgrade Transport to compile Trino UDF with Java 17 #124

Closed yiqiangin closed 1 year ago

yiqiangin commented 1 year ago

In order to make UDFs compiled by Transport can work with Trino v406, Transport needs to compile UDFs for Trino with Java 17.

Test ./gradlew clean build cd transportable-udfs-example-udfs ./gradlew clean build

Also using javap -verbose classfile to confirm that the class files of UDFs for Trino are compiled with Java 17.