Wanted to create PIG udfs in scala.