walterddr opened a new pull request #7443:
URL: https://github.com/apache/pinot/pull/7443


   Currently ScalarTransformFunctionWrapper doesn't actually take advantage of 
Literal arguments passed in. 
   
   Creating a framework (very basic) to showcase how to invoke initialization 
to reduce overhead during each scalarFunction invoke.
   This is using a very basic example of string normalize function to reduce 
the overhead of each match of ENUM extract, not much but it will come really 
handy in other more heavy use cases like regex Pattern compilation (which is 
per row)
   
   TODO
   - [ ] create a interface for the init method (or making it accept 
variable-length arguments like `Object... `?)
   - [ ] sanitize the APIs so that there's less if checkers


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to