You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hive.apache.org by glen <cn...@126.com> on 2015/11/14 07:37:44 UTC
does hive support non equality join?
from cwiki, the answer is no. it seems supported after some test.
by the way, is there any better doc for hive?
Re: does hive support non equality join?
Posted by Gopal Vijayaraghavan <go...@apache.org>.
> from cwiki, the answer is no. it seems supported after some test.
The old syntax doesn't support it, but the new one does.
select count(1) from table1, table2 where table1.x < table2.x;
That said, that query won't run very fast unless one of the tables is tiny.
Cheers,
Gopal