Slackbot
07/06/2023, 1:29 PMJohn Kowtko
07/06/2023, 2:24 PMselect ...
from table t1
cross join table t2
where t2.keyCount <= t1.keyCount
With Druid you cannot use inequalities in the join condition, so unless there is a higher level grouping in your query that gives you join columns, you have to use cross join and then apply the inequality filter condition afterwards.
Let us know if you have any issues doing it this way.lnault
07/06/2023, 3:33 PMlnault
07/06/2023, 5:06 PM