shanthoosh commented on a change in pull request #1214: SAMZA-2375, SAMZA-2376: 
Add display name to UdfMetadata and handle trailing semi-colons
URL: https://github.com/apache/samza/pull/1214#discussion_r343769058
 
 

 ##########
 File path: 
samza-sql/src/main/java/org/apache/samza/sql/interfaces/UdfMetadata.java
 ##########
 @@ -45,6 +46,8 @@ public UdfMetadata(String name, String description, Method 
udfMethod, Config udf
       SamzaSqlFieldType returnType, boolean disableArgCheck) {
     // Udfs are case insensitive
     this.name = name.toUpperCase();
+    // Let's also store the original name for display purposes.
+    this.displayName = name;
 
 Review comment:
   This POJO already has hashcode and equals implemented in it. Are we planning 
to account for this new field in them?

----------------------------------------------------------------
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

Reply via email to