alex-plekhanov commented on code in PR #11618: URL: https://github.com/apache/ignite/pull/11618#discussion_r1873336508
########## modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/exec/ExecutionContext.java: ########## @@ -457,6 +471,31 @@ public IoTracker ioTracker() { return ioTracker; } + /** + * Return an object contained a user defined function. If not exist yet, then instantiate the object and inject resources into it. + * Used by {@link ReflectiveCallNotNullImplementor} while it is preparing user function call. + * + * @param udfClsName Classname of the class contained UDF. + * @return Object with injected resources. + */ + public Object udfObject(String udfClsName) { Review Comment: Or something like `querySingletonInstance`. Some system functions also require class instance creation, see `ReflectiveImplementor` for example. Perhaps we can reuse this method and make some optimizations in the future. -- 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: notifications-unsubscr...@ignite.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org