Hi all, I had a task to investigate how to extend Datafusion to add UDFs written in plain SQL. Reason behind: there is quite a big bunch of SQL UDF in existing java (spark) solutions, however we are starting to move into the Rust ecosystem and Datafussion/Arrow/Ballista looks like the proper way.
Question: Could I get some points on how to extend DF to add "CREATE FUNCTION AAA (p1:int, p2: int) RETURN INT AS '<sql style body here' "? I saw some rewrite propositions, extending SQL parser with a new command or creating separate parser/dialect. Best Regards, Jaro