Open egalpin opened 1 year ago
It turns out that the root cause of the issue is that the fields being fetched via LOOKUP
function were not included in the GROUP BY
clause. The above error did not mention this cause at all, so it was not obvious this was the issue. This issue could be closed or replaced with one involving making the error message more clear.
Can you also share the query?
In order to do post-aggregation, the function must be registered as scalar function. There is no scalar function version of look_up
, thus the exception. I don't think look_up
makes sense as scalar function though
From the broker logs:
It's called out in the docs that
LOOKUP
is not supported for multi-value fields. But is it intentionally not supported for post-aggregation decoration? Or is this just an omission?