This project has code to implement UDF in spark in java. It has 2 files - SingleColumnUDF (which contains UDF with 1 column data as input) and MultiColumnUDF (which contains UDF with 2 column data). The sample dataset for the project is kept in resources folder.