remove copy from groovy script
-/*
- * Copyright (c) 2016. Teradata Inc.
- */
def myFunc = [ call: { val -> return val.substring(1,5) }] as org.apache.spark.sql.api.java.UDF1
//hiveContext.udf().register("myFunc", new UDF1() { (x: Integer) => x + 1})
