atoomula commented on a change in pull request #911: Support for types in Samza SQL UDF URL: https://github.com/apache/samza/pull/911#discussion_r255300436
########## File path: samza-sql/src/main/java/org/apache/samza/sql/data/SamzaSqlExecutionContext.java ########## @@ -38,7 +40,10 @@ * The variables that are shared among all cloned instance of {@link SamzaSqlExecutionContext} */ private final SamzaSqlApplicationConfig sqlConfig; - private final Map<String, UdfMetadata> udfMetadata; + + // Maps the UDF name to list of all UDF methods associated with the name. + // Since we support polymorphism there can multiple udfMetadata associated with the single name. Review comment: How can these different methods be invoked via Udf in a sql statement ? Is there an example or a test ? I see one with overload but can we have different method names and make it work ? ---------------------------------------------------------------- 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