srinipunuru opened a new pull request #911: Support for types in Samza SQL UDF
URL: https://github.com/apache/samza/pull/911
 
 
   This PR adds following capabilities to UDF
   
   1. Adds typed UDFS : Previously samza sql udfs were un-typed all the params 
used to be Objects, Although this allowed flexibility of polymorphism without 
having to implement multiple methods. This was fragile. We couldn't do 
validations during initialization phase. This change adds types to the UDFs.
   3. Decouples name of the method from udf: previously all udf methods have to 
be named "execute". Now the Udfs methods can be named whatever the developer 
prefers. The UDFMethods are identified using the annotation. 
   2. Adds polymorphism to UDFs : Adds capability where you can have mulitple 
methods for the same UDF name. i.e. multiple methods within the class can be 
annotated as SamzaSQLUDFMethod.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to