Install the asdf version manager and the plugins needed for Java:
asdf plugin-add java https://github.com/halcyon/asdf-java.git
asdf plugin-add maven https://github.com/halcyon/asdf-maven.gitThen install a Java environment using versions specified in .tool-versions:
asdf installYou should be able to "package" the plugin into ./target/ using:
mvn packageThen you can run Trino with the plugin using:
docker run --name trino -d --mount type=bind,source="$(pwd)"/target,target=/usr/lib/trino/plugin/joinery -p 8080:8080 trinodb/trinoThis should give you a working FARM_FINGERPRINT function, which you can test
as follows:
❯ docker exec -it trino trino
trino> select farm_fingerprint('Hello');
_col0
----------------------
-3042045079152025465