This is a simple Java program to illustrate the use of User Defined Functions (UDFs) in Apache SparkSql.