我想根据数据表中Fruit
具有子字符串匹配的单元格从这两个表的连接中创建一个结果Things
表。
let Fruit = datatable(fruit:string)
[
"apple",
"banana"
"orange"
];
let Things = datatable(fruit:string)
[
"anappletree",
"myoranges"
];
我试过这样的事情:
Fruit
| join Things on $left.fruit contains $right.thing
但是得到这个错误:
Semantic Error
join: only column entities or equality expressions are allowed in this context.
所以这里不能用contains
。
我如何加入这个,这样我就可以得到一个包含以下内容的表格
"apple" | "anappletree"
"banana" | ""
"orange" | "myoranges"