I would like to create a resulting table from the joining of these two tables based on the cells in the Fruit having substring matches in the Things data table.
let Fruit = datatable(fruit:string)
[
"apple",
"banana"
"orange"
];
let Things = datatable(fruit:string)
[
"anappletree",
"myoranges"
];
I've tried something like this:
Fruit
| join Things on $left.fruit contains $right.thing
But get this error:
Semantic Error
join: only column entities or equality expressions are allowed in this context.
So can't use contains here.
How do I join this such that I can get a table consisting of
"apple" | "anappletree"
"banana" | ""
"orange" | "myoranges"