seafowl
seafowl copied to clipboard
introduce wasi+messagepack UDF language variant
- [x] handle error messagepack-encoding arguments
- [x] handle WASM module loading errors
- [x] handle linker errors
- [x] handle case when UDF not found in WASM module
- [x] handle case when UDF invocation fails
- [x] handle case when messagepack decoding of output fails
- [x] Similar to make_scalar_function_from_wasm, this function should verify module OK and export exists up front.
- [x] don't panic on unexpected input / output UDF type, fail with a DataFusionError instead.
- [x] invoke_wasi_messagepack loads the WASM module, locates the UDF for each row, should be once per SELECT
- [x] Don't panic on type mismatches, because the UDF could return different types than promised
Agreed