shanthoosh commented on a change in pull request #1192: SAMZA-2354: Improve UDF
discovery in samza-sql.
URL: https://github.com/apache/samza/pull/1192#discussion_r335608854
##########
File path:
samza-sql/src/main/java/org/apache/samza/sql/runner/SamzaSqlApplicationConfig.java
##########
@@ -214,7 +214,7 @@ private UdfResolver createUdfResolver(Map<String, String>
config) {
Properties props = new Properties();
props.putAll(domainConfig);
HashMap<String, String> udfConfig = getDomainProperties(config,
CFG_UDF_CONFIG_DOMAIN, false);
- return new ConfigBasedUdfResolver(props, new MapConfig(udfConfig));
+ return new ReflectionBasedUdfResolver(new MapConfig(udfConfig));
Review comment:
I agree that this is a useful thing to do and discussed it offline. Created
a follow-up ticket(SAMZA-2355) for making the UDFResolver pluggable in
samza-sql. It will be done in an immediate follow-up patch.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services