如何正确定义和调用具有多列的表格类型参数的用户函数?
为了为我的问题提供一些背景信息,这是我这样做的尝试
let foo=(T1:(col1:string, col2:string))
{
T1|count // something more complex will go here,
// so just avoiding the whole function is not an option.
}
someTable | summarize Res=foo(Col1, Col2) by Col3, Col4
Kusto 在这里识别出我的函数,但抱怨它只接受一个参数。我怎样才能将两列传递给它?
谢谢,杜桑