I think I must be missing something in the documentation. In a typical DBMS system you would be able to write a UDF which consumes data from another table. Its not at all clear how one would do that from an Ignite UDF. Has anyone done something similar, or is it even possible to do something like this (obviously contrived)?
static class SqlFunctions {
@QuerySqlFunction
public static int cpi_rate(int x) {
/*sql = select rate from "RATES".cpi where x=?*/
return x;
}
}