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