Building from source

Building

Requirements:

  • A Linux class machine (can be a VM).
    • Some of the build scripts rely in bash/sed/grep and related tools, so it will not build on a Windows machine. I’m unsure if it will build on a Mac.
  • The normal build tools for a Java project
    • JDK 8, 11, 17, 21 and 24 all need to be installed.
      • All of these are needed to ensure the code works in all UDFs. Some of them only run on Java 8 (like Hive), some (like Flink) only work on Java 11 and some UDFs (like ElasticSearch and Trino) only work on the most recent Java versions.

The ./start-docker.sh script launches a docker based build environment with all needed tools and configs.

and then simply do:

mvn clean package