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
297 stars 73 forks source link

Build plugin with platform specific JDK #69

Closed akshayrai closed 3 years ago

akshayrai commented 3 years ago

Motivation: As part of the Trino upgrade/migration (#66), we need to isolate and build transport modules for different engines with different jdk versions. For instance, Spark & Hive needs to build with jdk8 and Trino has a build requirement on jdk11.

Verified that the compiled classes are targeted for the respective jdks using javap -verbose <class>

akshayrai commented 3 years ago

Thanks @shardulm94 for helping debug and review the PR!