DB::Exception: Support for more than one JOIN in query is not implemented.

837 views
Skip to first unread message

John Dolphin

unread,
May 10, 2017, 10:32:20 AM5/10/17
to ClickHouse
Try run some query in Clickhouse and get this error, does it mean clickhouse only one join clause? 

Thanks

Alex Zatelepin

unread,
May 11, 2017, 8:49:35 AM5/11/17
to ClickHouse
Hi John!

It means that ClickHouse can only join two tables in one SELECT. You can simulate multi-table join with subqueries like this:
SELECT * from t1 ALL INNER JOIN (SELECT * FROM t2 ALL INNER JOIN t3 USING x) USING x
Reply all
Reply to author
Forward
0 new messages