At the moment, all user-defined functions need to be defined twice, once for Mimir's benefit (typically in mimir.algebra.function.FunctionRegistry) and once for SQLite's benefit (typically in ...