Could you please let me know if the following usecases can be handled in Kusto?
- Nested User defined queries (Can I call one function in the other function)?Here are the two functions
.create function ifnotexists
with()
function1() {table1 | where column1 == abs}
.create function ifnotexists
with()
function2() {table2 | where column1 in (function1())}
Also How to add row level security policy to the nested function - function2()?The below does not seem to work
.alter table table2 policy row_level_security enable "function2"
2.How do I Upsert a row (Can I create a new table and migrate the schema). If so, Is it possible to make users have access to just the functions and not the underlying tables??
Note: I can write a function to point to a new table with upserted row