When you upgrade from 7.9 to 8.1 (or higher) versions on SingleStoreDB Cloud, if your database contains Wasm functions (UDFs or TVFs), those functions will not work after upgrade. To correct the problem, drop the functions and recreate them, or use CREATE OR REPLACE to replace them. The original Wasm module does not need to be recompiled.
This is necessary because we have changed SingleStoreDB’s Wasm compilation logic to be more resilient when we update the embedded Wasmtime engine.
This is a one-time step. Upgrades from 8.0 or higher to new major or minor versions of SingleStoreDB cloud will be handled automatically and it will not be necessary to recreate functions.
This issue is relevant only to SingleStoreDB cloud, because the 7.9 release is cloud-only.