This is an automated email from the ASF dual-hosted git repository.

srinivasulu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/samza.git


The following commit(s) were added to refs/heads/master by this push:
     new 6182141  Fix for the compilation error (#1102)
6182141 is described below

commit 6182141be0b7fda994ed2668ac91b99cc1f82f65
Author: Srinivasulu Punuru <[email protected]>
AuthorDate: Thu Jul 11 10:50:46 2019 -0700

    Fix for the compilation error (#1102)
---
 samza-sql/src/test/java/org/apache/samza/sql/util/MyTestObjUdf.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 
a/samza-sql/src/test/java/org/apache/samza/sql/util/MyTestObjUdf.java 
b/samza-sql/src/test/java/org/apache/samza/sql/util/MyTestObjUdf.java
index 14a68f4..ce47b7f 100644
--- a/samza-sql/src/test/java/org/apache/samza/sql/util/MyTestObjUdf.java
+++ b/samza-sql/src/test/java/org/apache/samza/sql/util/MyTestObjUdf.java
@@ -20,6 +20,7 @@
 package org.apache.samza.sql.util;
 
 import org.apache.samza.config.Config;
+import org.apache.samza.context.Context;
 import org.apache.samza.sql.schema.SamzaSqlFieldType;
 import org.apache.samza.sql.udfs.SamzaSqlUdf;
 import org.apache.samza.sql.udfs.SamzaSqlUdfMethod;
@@ -42,7 +43,7 @@ public class MyTestObjUdf implements ScalarUdf {
   }
 
   @Override
-  public void init(Config udfConfig) {
+  public void init(Config udfConfig, Context context) {
     LOG.info("Init called with {}", udfConfig);
   }
 }

Reply via email to