-
Notifications
You must be signed in to change notification settings - Fork 127
Open
Labels
Description
📝 Description:
This is a proposal for a new feature in Dozer Core, to enhance the functionality by allowing users to define a SQL User Defined Function (UDF) implemented in WASM (AssemblyScript)
🌟 Feature Details:
Users should be able to define a WASM UDF usable in Dozer SQL.
In order to implement an UDF a user should:
- Add a
.wasmfile to the project folder (for example in the directoryudfs/wasm/my_function.wasm) - Add the following configuration lines to
dozer-config.yaml:
udfs:
wasm:
my_function: udfs/wasm/my_function
Upon startup Dozer should load the wasm function and make it available in Dozer SQL. my_function() should now be usable from SQL as:
SELECT my_function(filed1, field2) FROM ...
reneleonhardt