You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by GitBox <gi...@apache.org> on 2022/02/25 11:43:29 UTC

[GitHub] [pinot] richardstartin commented on a change in pull request #8248: Return TIMESTAMP type for possible time functions

richardstartin commented on a change in pull request #8248:
URL: https://github.com/apache/pinot/pull/8248#discussion_r814701825



##########
File path: pinot-spi/src/main/java/org/apache/pinot/spi/annotations/ScalarFunction.java
##########
@@ -46,5 +46,10 @@
 
   boolean enabled() default true;
 
-  String name() default "";
+  // A comma-separated function names to register in FunctionRegistry
+  String names() default "";
+
+  String alias() default "";

Review comment:
       You can use an array instead:
   
   ```java
   String[] names() default {};
   ```




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

To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org