In #111 I have seen mention of user defined functions. I think for Noria it probably makes sense that there are two kinds of them:
- Some which are defined in terms of data-flow primitive operations. I think existing internal views you can make are a case of that. But probably/maybe having some slightly richer way to express those (or just more basic operations) would be useful.
- An opaque imperative functions one could define from the app. For those, I would suggest that maybe Noria simply uses wasm as the language to define those. Instead of getting into the hell of supporting a wide range of custom languages. One would then have to define just what are some properties of this opaque function (deterministic vs. not) for dataflow to be able to be computed correctly.
Am I missing something here? Are there some fundamental issues with providing support for UDF? What metadata about a function would Noria need? Typing information for inputs and outputs?
In #111 I have seen mention of user defined functions. I think for Noria it probably makes sense that there are two kinds of them:
Am I missing something here? Are there some fundamental issues with providing support for UDF? What metadata about a function would Noria need? Typing information for inputs and outputs?