Github user rxin commented on a diff in the pull request: https://github.com/apache/spark/pull/15457#discussion_r83140501 --- Diff: sql/core/src/main/java/org/apache/spark/sql/api/java/UDF1.java --- @@ -19,14 +19,12 @@ import java.io.Serializable; -// ************************************************** -// THIS FILE IS AUTOGENERATED BY CODE IN -// org.apache.spark.sql.api.java.FunctionRegistration -// ************************************************** +import org.apache.spark.annotation.InterfaceStability; /** * A Spark SQL UDF that has 1 arguments. */ +@InterfaceStability.Stable public interface UDF1<T1, R> extends Serializable { - public R call(T1 t1) throws Exception; + R call(T1 t1) throws Exception; --- End diff -- methods in interface in Java are by default public.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org