seafowl icon indicating copy to clipboard operation
seafowl copied to clipboard

introduce wasi+messagepack UDF language variant

Open neumark opened this issue 1 year ago • 1 comments

neumark avatar Oct 11 '22 14:10 neumark

  • [ ] 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

neumark avatar Nov 02 '22 18:11 neumark