Skip to content

Rust UDF error #46

Closed
Closed
@ravi-k4

Description

@ravi-k4

I have built a Rust UDF and added the function to Singlestore database using this command

CREATE FUNCTION <function name> AS WASM FROM HTTP 'https://<>.wasm' with WIT from HTTP 'https://<>.wit'

when I ran select function(1,2,3) AS Result observing this error

ERROR 2654 UNKNOWN_ERR_CODE: Wasm module instantiation failed with error. unknown import: env::__extenddftf2 has not been defined

Can someone help me fix this issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions