Skip to content

WASM UDF support #1653

@snork-alt

Description

@snork-alt

📝 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 .wasm file to the project folder (for example in the directory udfs/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 ...

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions