on
dop.tree = pdop.tree
and dop.lft >= pdop.lft
and dop.rgt <= pdop.rgt
join offer_pack op on
op.pack_id = dop.id
where
pdop.id IN ('519', '521', '523', '789', '905', '1233', '1359', '1367', '1427', '1351') Всем привет. Запрос вылетает с ошибкой: Unsupported JOIN ON conditions. Unexpected '(dop.lft AS --dop.lft) >= (lft AS --pdop.lft)' Кликхаус не умеет в такие условия join?
NOTE If a condition refers columns from different tables, then only the equality operator (=) is supported so far. https://clickhouse.com/docs/en/sql-reference/statements/select/join/
Обсуждают сегодня