You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by "stevedlawrence (via GitHub)" <gi...@apache.org> on 2023/08/15 18:39:42 UTC
[GitHub] [daffodil-vscode] stevedlawrence commented on issue #810: Ability to pull in user defined functions
stevedlawrence commented on issue #810:
URL: https://github.com/apache/daffodil-vscode/issues/810#issuecomment-1679353828
Documentation about the UDF proposal an implementation is on the wiki here: https://cwiki.apache.org/confluence/display/DAFFODIL/Proposal%3A+Feature+to+Support+User+Defined+Functions
The `UserDefinedFunctionService.lookupUserDefinedFunctionCallingInfo` provides a way to query information about a user defined function, given a namespace and name:
https://github.com/apache/daffodil/blob/main/daffodil-runtime1/src/main/scala/org/apache/daffodil/runtime1/udf/UserDefinedFunctionService.scala#L249-L252
Daffodil doesn't currently have a way to query all the available UDFs, so if you need that we may need an enhancement to daffodil.
Also note that UDF's come from jars on the classpath, so the extension would also need a way to add these jars to the classpath.
--
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@daffodil.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org